comparison src/s/freebsd.h @ 205:92f8ad5d0d3f r20-4b1

Import from CVS: tag r20-4b1
author cvs
date Mon, 13 Aug 2007 10:02:46 +0200
parents 9ad43877534d
children 41ff10fd062f
comparison
equal deleted inserted replaced
204:a15e4b3d59c6 205:92f8ad5d0d3f
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 after 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 #ifdef HAVE_X_WINDOWS
38 #ifndef NOT_C_CODE 39 #ifndef NOT_C_CODE
39 #include <X11/Xlocale.h> 40 #include <X11/Xlocale.h>
40 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec) 41 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec)
41 #endif /* C code */ 42 #endif /* C code */
43 #endif
42 #endif 44 #endif
43 45
44 #define LIBS_TERMCAP "-ltermcap" 46 #define LIBS_TERMCAP "-ltermcap"
45 47
46 #ifndef NO_SHARED_LIBS 48 #ifndef NO_SHARED_LIBS