# HG changeset patch # User Bruno Haible # Date 1147871813 0 # Node ID 3d3367284a08feb5779a6d58bfd7f5559a9e9240 # Parent ab801856f0f8f255984fdfd95363a81ede31f7bc Cygwin portability. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2006-05-17 Bruno Haible + + Cygwin portability. + * classpath.c (PATH_SEPARATOR) [CYGWIN]: Define as ':'. + 2006-05-17 Bruno Haible * stdint_.h: Fix recognition of Cygwin. diff --git a/lib/classpath.c b/lib/classpath.c --- 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 , 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