comparison src/s/freebsd.h @ 286:57709be46d1b r21-0b41

Import from CVS: tag r21-0b41
author cvs
date Mon, 13 Aug 2007 10:35:03 +0200
parents 157b30c96d03
children afd57c14dfc8
comparison
equal deleted inserted replaced
285:9a3756523c1b 286:57709be46d1b
37 #ifdef BSD /* fixing BSD define */ 37 #ifdef BSD /* fixing BSD define */
38 #undef BSD 38 #undef BSD
39 #endif 39 #endif
40 #include <sys/param.h> 40 #include <sys/param.h>
41 /* Kludge to work around setlocale(LC_ALL,...) not working after 01/1997 */ 41 /* Kludge to work around setlocale(LC_ALL,...) not working after 01/1997 */
42 #if __FreeBSD_version >= 199701 42 #if __FreeBSD_version >= 199701 && __FreeBSD_version < 226000
43 #ifdef HAVE_X_WINDOWS 43 #ifdef HAVE_X_WINDOWS
44 #include <X11/Xlocale.h> 44 #include <X11/Xlocale.h>
45 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec) 45 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec)
46 #endif /* HAVE X */ 46 #endif /* HAVE X */
47 #endif /* FreeBSD >= 199701 */ 47 #endif /* FreeBSD >= 199701 && < 226000 */
48 #endif /* C code */ 48 #endif /* C code */
49 49
50 #define LIBS_TERMCAP "-ltermcap" 50 #define LIBS_TERMCAP "-ltermcap"
51 51
52 #ifndef NO_SHARED_LIBS 52 #ifndef NO_SHARED_LIBS