From d5043133e63290e0abedc34ddd1889bbd4bb953e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 May 2003 08:08:48 +0000 Subject: Gisle Vanem made curl build with djgpp on DOS. --- src/setup.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/setup.h') diff --git a/src/setup.h b/src/setup.h index 65eef4b4a..c5ab80ed9 100644 --- a/src/setup.h +++ b/src/setup.h @@ -66,7 +66,6 @@ int fileno( FILE *stream); #endif #ifdef WIN32 -#define PATH_CHAR ";" #define DIR_CHAR "\\" #define DOT_CHAR "_" #else @@ -74,17 +73,21 @@ int fileno( FILE *stream); /* 20000318 mgs * OS/2 supports leading dots in filenames if the volume is formatted * with JFS or HPFS. */ -#define PATH_CHAR ";" #define DIR_CHAR "\\" #define DOT_CHAR "." #else -#define PATH_CHAR ":" +#ifdef DJGPP +#define DIR_CHAR "/" +#define DOT_CHAR "_" +#else + #define DIR_CHAR "/" #define DOT_CHAR "." -#endif -#endif +#endif /* !DJGPP */ +#endif /* !__EMX__ */ +#endif /* !WIN32 */ #ifdef __riscos__ #define USE_ENVIRONMENT -- cgit v1.2.3