comparison src/s/freebsd.h @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents cc4664d4732c
children 0d2f883870bc
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
31 #undef LDAV_SYMBOL 31 #undef LDAV_SYMBOL
32 32
33 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 33 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
34 34
35 #define LIBS_DEBUG 35 #define LIBS_DEBUG
36 /* FreeBSD 2.2 or later */
37 #ifndef __FreeBSD_version
38 #include <osreldate.h>
39 #endif
40 #if __FreeBSD_version >= 199701
41 #define LIBS_SYSTEM -lutil -lxpg4
42 #else
43 #define LIBS_SYSTEM -lutil 36 #define LIBS_SYSTEM -lutil
44 #endif
45 /* XEmacs change: */ 37 /* XEmacs change: */
46 #ifdef HAVE_NCURSES 38 #ifdef HAVE_NCURSES
47 #define LIBS_TERMCAP -lncurses -ltermcap 39 #define LIBS_TERMCAP -lncurses -ltermcap
48 #else 40 #else
49 #define LIBS_TERMCAP -ltermcap 41 #define LIBS_TERMCAP -ltermcap
86 #undef BSD 78 #undef BSD
87 #if __FreeBSD__ == 1 79 #if __FreeBSD__ == 1
88 #define BSD 199103 80 #define BSD 199103
89 #elif __FreeBSD__ == 2 81 #elif __FreeBSD__ == 2
90 #define BSD 199306 82 #define BSD 199306
91 #elif __FreeBSD__ == 3
92 #define BSD 199506
93 #endif 83 #endif
94 84
95 #undef HAVE_UNION_WAIT 85 #undef HAVE_UNION_WAIT
96 /* #### XEmacs: Is this necessary? */ 86 /* #### XEmacs: Is this necessary? */
97 #define WRETCODE(w) (_W_INT(w) >> 8) 87 #define WRETCODE(w) (_W_INT(w) >> 8)