aboutsummaryrefslogtreecommitdiff
path: root/lib/setup_once.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-08-29 16:26:41 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-08-29 16:26:41 +0000
commit9691a78f6baa9ac38a37ff60ea58b3f7d4021781 (patch)
tree346397b03fd7203d2d2ef7b3a7cfb9a179e43b1b /lib/setup_once.h
parent7ff6b6fafdf3d8179b475a58f7b8757422ae69d8 (diff)
Support other MS-DOS compilers (MSDOS is a djgpp built-in define).
Diffstat (limited to 'lib/setup_once.h')
-rw-r--r--lib/setup_once.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/setup_once.h b/lib/setup_once.h
index 2e3dcc1f4..d3a4cc0a1 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -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
@@ -101,7 +101,7 @@
(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