Mercurial > hg > xemacs-beta
diff src/input-method-xfs.c @ 175:2d532a89d707 r20-3b14
Import from CVS: tag r20-3b14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:50:14 +0200 |
parents | b980b6286996 |
children | e45d5e7c476e |
line wrap: on
line diff
--- a/src/input-method-xfs.c Mon Aug 13 09:49:11 2007 +0200 +++ b/src/input-method-xfs.c Mon Aug 13 09:50:14 2007 +0200 @@ -36,10 +36,6 @@ #include "EmacsFrame.h" #include "events.h" -#ifdef __FreeBSD__ -#include <osreldate.h> -#endif - #ifdef USE_XFONTSET void Initialize_Locale (void) @@ -47,15 +43,7 @@ char *locale; XtSetLanguageProc (NULL, (XtLanguageProc) NULL, NULL); -#ifdef __FreeBSD_version -# if __FreeBSD_version >= 199701 /* waiting FreeBSD supports all locale */ - if ((locale = setlocale(LC_CTYPE, "")) == NULL) -# else if ((locale = setlocale (LC_ALL, "")) == NULL) -# endif -#else - if ((locale = setlocale (LC_ALL, "")) == NULL) -#endif { stderr_out ("Can't set locale.\n"); stderr_out ("Using C locale instead.\n");