From 0c5bfbac92bc96cc7c6d8357d596f47a569b3b11 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 17 May 2006 13:16:53 +0000 Subject: [PATCH] Cygwin portability. --- lib/ChangeLog | 5 +++++ lib/classpath.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 0d118849b3..2044ebb8b1 100644 --- 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 index 1cbc14b1dc..ccb66de262 100644 --- 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 -- 2.30.2