diff lib/localcharset.c @ 5053:eebff8c51a9b

Treat Cygwin like Windows regarding pathname syntax.
author Bruno Haible <bruno@clisp.org>
date Wed, 28 Apr 2004 11:26:25 +0000
parents b1006348a448
children 9d475f8488d9
line wrap: on
line diff
--- a/lib/localcharset.c
+++ b/lib/localcharset.c
@@ -72,8 +72,8 @@
 # define relocate(pathname) (pathname)
 #endif
 
-#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
-  /* Win32, OS/2, DOS */
+#if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__
+  /* Win32, Cygwin, OS/2, DOS */
 # define ISSLASH(C) ((C) == '/' || (C) == '\\')
 #endif