aboutsummaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-21 08:08:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-21 08:08:48 +0000
commitd5043133e63290e0abedc34ddd1889bbd4bb953e (patch)
tree50ff25c5d923a49b999cd078bdfae19439b4d1a6 /src/setup.h
parent509f69a45769bf3fa3ae6d08daeab944b051beb4 (diff)
Gisle Vanem made curl build with djgpp on DOS.
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h13
1 files changed, 8 insertions, 5 deletions
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