aboutsummaryrefslogtreecommitdiff
path: root/lib/setup_once.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-10-27 14:07:32 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-10-27 14:07:32 +0000
commit812ce0d93ff087da2b776600f37928e4a10c5509 (patch)
tree0d073b2442a36328a4717eb7149ced70ce097127 /lib/setup_once.h
parentbbae5b49f9b25be7e54a0b8388700091bfa6d825 (diff)
Get rid of the special sread()+swrite() for MSDOS. Use recv()
and send(). Added needed HAVE_x defines.
Diffstat (limited to 'lib/setup_once.h')
-rw-r--r--lib/setup_once.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/setup_once.h b/lib/setup_once.h
index 5573cbcb2..04640707c 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -84,9 +84,6 @@
(RECV_TYPE_ARG4)(SEND_4TH_ARG))
#endif
#else /* HAVE_RECV */
-#ifdef MSDOS
-#define sread(x,y,z) (ssize_t)read_s((int)(x), (char *)(y), (int)(z))
-#endif
#ifndef sread
/* */
Error Missing_definition_of_macro_sread
@@ -111,9 +108,6 @@
(SEND_TYPE_ARG4)(SEND_4TH_ARG))
#endif
#else /* HAVE_SEND */
-#ifdef MSDOS
-#define swrite(x,y,z) (ssize_t)write_s((int)(x), (char *)(y), (int)(z))
-#endif
#ifndef swrite
/* */
Error Missing_definition_of_macro_swrite