comparison src/s/freebsd.h @ 179:9ad43877534d r20-3b16

Import from CVS: tag r20-3b16
author cvs
date Mon, 13 Aug 2007 09:52:19 +0200
parents 6075d714658b
children 92f8ad5d0d3f
comparison
equal deleted inserted replaced
178:e703507b8a00 179:9ad43877534d
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 #ifndef NOT_C_CODE
38 #include <X11/Xlocale.h> 39 #include <X11/Xlocale.h>
39 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec) 40 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec)
41 #endif /* C code */
40 #endif 42 #endif
41 43
42 #define LIBS_TERMCAP "-ltermcap" 44 #define LIBS_TERMCAP "-ltermcap"
43 45
44 #ifndef NO_SHARED_LIBS 46 #ifndef NO_SHARED_LIBS