Cygwin portability.
authorBruno Haible <bruno@clisp.org>
Wed, 17 May 2006 13:16:53 +0000 (13:16 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 17 May 2006 13:16:53 +0000 (13:16 +0000)
lib/ChangeLog
lib/classpath.c

index 0d11884..2044ebb 100644 (file)
@@ -1,5 +1,10 @@
 2006-05-17  Bruno Haible  <bruno@clisp.org>
 
+       Cygwin portability.
+       * classpath.c (PATH_SEPARATOR) [CYGWIN]: Define as ':'.
+
+2006-05-17  Bruno Haible  <bruno@clisp.org>
+
        * stdint_.h: Fix recognition of Cygwin.
 
 2006-05-11  Jim Meyering  <jim@meyering.net>
index 1cbc14b..ccb66de 100644 (file)
@@ -1,5 +1,5 @@
 /* Java CLASSPATH handling.
-   Copyright (C) 2001-2003 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software; you can redistribute it and/or modify
@@ -36,7 +36,7 @@
 #endif
 
 /* Separator in PATH like lists of pathnames.  */
-#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
+#if ((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__) || defined __EMX__ || defined __DJGPP__
   /* Win32, OS/2, DOS */
 # define PATH_SEPARATOR ';'
 #else