From 6691404febb93cd619453b5eed18bc4547f4f976 Mon Sep 17 00:00:00 2001 From: jjgarcia Date: Wed, 8 Dec 2004 17:15:21 +0000 Subject: [PATCH] Do not use backward slashes in cygwin (M.Goffioul) --- src/h/config.h.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/h/config.h.in b/src/h/config.h.in index 225c8bcca..87559d0fb 100644 --- a/src/h/config.h.in +++ b/src/h/config.h.in @@ -238,7 +238,11 @@ typedef unsigned @CL_FIXNUM_TYPE@ cl_hashkey; #if defined(MSDOS) || defined(cygwin) || defined(mingw32) # define IS_DIR_SEPARATOR(x) ((x=='/')||(x=='\\')) -# define DIR_SEPARATOR '\\' +# ifdef MSDOS +# define DIR_SEPARATOR '\\' +# else +# define DIR_SEPARATOR '/' +# endif # define PATH_SEPARATOR ';' #else # define IS_DIR_SEPARATOR(x) (x=='/')