]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Support other MS-DOS compilers (MSDOS is a djgpp built-in define).
authorGisle Vanem <gvanem@broadpark.no>
Tue, 29 Aug 2006 16:26:41 +0000 (16:26 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Tue, 29 Aug 2006 16:26:41 +0000 (16:26 +0000)
lib/setup.h
lib/setup_once.h

index 1e64c928a031845cc51f1617bd38a188c021b34b..b06214dfbf485c7f5d87ac62d3bffd229ccadde4 100644 (file)
@@ -233,7 +233,7 @@ typedef unsigned char bool;
 
 #else /* WIN32 */
 
-#ifdef DJGPP
+#ifdef MSDOS  /* Watt-32 */
 #include <sys/ioctl.h>
 #define sclose(x)         close_s(x)
 #define select(n,r,w,x,t) select_s(n,r,w,x,t)
@@ -244,7 +244,7 @@ typedef unsigned char bool;
 #undef word
 #endif
 
-#else /* DJGPP */
+#else /* MSDOS */
 
 #ifdef __BEOS__
 #define sclose(x) closesocket(x)
@@ -254,7 +254,7 @@ typedef unsigned char bool;
 
 #define HAVE_ALARM
 
-#endif /* DJGPP */
+#endif /* MSDOS */
 
 #ifdef _AMIGASF
 #undef HAVE_ALARM
@@ -267,7 +267,7 @@ typedef unsigned char bool;
 #define DOT_CHAR      "."
 #endif
 
-#ifdef DJGPP
+#ifdef MSDOS
 #undef DOT_CHAR
 #define DOT_CHAR      "_"
 #endif
index 2e3dcc1f4fe5d37306234cacb6793654a31a51e9..d3a4cc0a132c3e30b3649dfb32301cfcb4a05711 100644 (file)
@@ -33,7 +33,7 @@
 #define SEND_4TH_ARG MSG_NOSIGNAL
 #else
 #define SEND_4TH_ARG 0
-#endif 
+#endif
 
 
 /*
@@ -74,7 +74,7 @@
                                    (RECV_TYPE_ARG4)(SEND_4TH_ARG))
 #endif
 #else /* HAVE_RECV */
-#ifdef DJGPP
+#ifdef MSDOS
 #define sread(x,y,z) (ssize_t)read_s((int)(x), (char *)(y), (int)(z))
 #endif
 #ifndef sread
                                     (SEND_TYPE_ARG4)(SEND_4TH_ARG))
 #endif
 #else /* HAVE_SEND */
-#ifdef DJGPP
+#ifdef MSDOS
 #define swrite(x,y,z) (ssize_t)write_s((int)(x), (char *)(y), (int)(z))
 #endif
 #ifndef swrite