TIOCNOTTY is there on BSD as well
authorNikodemus Siivola <nikodemus@random-state.net>
Mon, 21 Dec 2009 17:07:35 +0000 (19:07 +0200)
committerNikodemus Siivola <nikodemus@random-state.net>
Tue, 22 Dec 2009 16:51:27 +0000 (18:51 +0200)
posix/unixint.lisp

index 77282c2..7349350 100644 (file)
 
 #+(or linux bsd)
 (progn
+  ;; FIXME: Others too probaly exist on BSD hosts as well.
   (constant (tiocgwinsz "TIOCGWINSZ"))
-  (constant (tiocswinsz "TIOCSWINSZ")))
+  (constant (tiocswinsz "TIOCSWINSZ"))
+  (constant (tiocnotty "TIOCNOTTY")))
 
 ;;;; from termios.h
 
   (constant (tiocsserial "TIOCSSERIAL"))
   (constant (tiocpkt "TIOCPKT"))
   (constant (fionbio "FIONBIO"))
-  (constant (tiocnotty "TIOCNOTTY"))
   (constant (tiocsetd "TIOCSETD"))
   (constant (tiocgetd "TIOCGETD"))
   (constant (tcsbrkp "TCSBRKP"))