comparison src/s/freebsd.h @ 177:6075d714658b r20-3b15

Import from CVS: tag r20-3b15
author cvs
date Mon, 13 Aug 2007 09:51:16 +0200
parents 2d532a89d707
children 9ad43877534d
comparison
equal deleted inserted replaced
176:6866abce6aaf 177:6075d714658b
31 #define LIBS_SYSTEM "-lutil -lxpg4" 31 #define LIBS_SYSTEM "-lutil -lxpg4"
32 #else 32 #else
33 #define LIBS_SYSTEM "-lutil" 33 #define LIBS_SYSTEM "-lutil"
34 #endif 34 #endif
35 35
36 /* Kludge to work around setlocale(LC_ALL,...) not working before 01/1997 */ 36 /* Kludge to work around setlocale(LC_ALL,...) not working after 01/1997 */
37 #if __FreeBSD_version < 199701 37 #if __FreeBSD_version >= 199701
38 #include <X11/Xlocale.h> 38 #include <X11/Xlocale.h>
39 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec) 39 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec)
40 #endif 40 #endif
41 41
42 #define LIBS_TERMCAP "-ltermcap" 42 #define LIBS_TERMCAP "-ltermcap"
70 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) 70 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
71 #endif /* __FreeBSD__ */ 71 #endif /* __FreeBSD__ */
72 #endif /* NO_SHARED_LIBS */ 72 #endif /* NO_SHARED_LIBS */
73 73
74 #define HAVE_GETLOADAVG 74 #define HAVE_GETLOADAVG
75 /* #define NO_TERMIO */ /* mrb */ 75 /* #define NO_TERMIO */ /* detected in configure */
76 #define DECLARE_GETPWUID_WITH_UID_T 76 #define DECLARE_GETPWUID_WITH_UID_T
77 77
78 /* freebsd uses OXTABS instead of the expected TAB3. */ 78 /* freebsd uses OXTABS instead of the expected TAB3. */
79 #define TABDLY OXTABS 79 #define TABDLY OXTABS
80 #define TAB3 OXTABS 80 #define TAB3 OXTABS