diff options
Diffstat (limited to 'intl/localcharset.c')
-rw-r--r-- | intl/localcharset.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |