changeset 6792:3d3367284a08

Cygwin portability.
author Bruno Haible <bruno@clisp.org>
date Wed, 17 May 2006 13:16:53 +0000
parents ab801856f0f8
children 211a3b19d9ef
files lib/ChangeLog lib/classpath.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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.
--- a/lib/classpath.c
+++ b/lib/classpath.c
@@ -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