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 0d118849b35b2c8fee0d62c9a80dfb32bca3005a..2044ebb8b16e70da592375a23429912a25bc6c2f 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 1cbc14b1dcd3466cb955bb11ac7efed72d06d304..ccb66de262ab03059cdc3924850c34fa8dd9a53d 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