diff options
Diffstat (limited to 'intl')
-rw-r--r-- | intl/ChangeLog | 4 | ||||
-rw-r--r-- | intl/localcharset.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog index bf51c0a..d4b69aa 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,5 +1,9 @@ 2001-12-21 Bruno Haible <bruno@clisp.org> + * localcharset.c (ISSLASH): Provide definition for DOS-like systems. + +2001-12-21 Bruno Haible <bruno@clisp.org> + * libgettext.h: Moved to ../lib/gettext.h. * Makefile.in (HEADERS): Remove libgettext.h. (DISTFILES.obsolete): Add libgettext.h. diff --git a/intl/localcharset.c b/intl/localcharset.c index 17365f1..624a808 100644 --- a/intl/localcharset.c +++ b/intl/localcharset.c @@ -63,6 +63,11 @@ # include <os2.h> #endif +#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ + /* Win32, OS/2, DOS */ +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +#endif + #ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' #endif |