diff lib-src/gnuserv.h @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 84b14dcb0985
children e7ef97881643
line wrap: on
line diff
--- a/lib-src/gnuserv.h	Mon Aug 13 11:33:40 2007 +0200
+++ b/lib-src/gnuserv.h	Mon Aug 13 11:35:02 2007 +0200
@@ -36,18 +36,13 @@
 
 #define USE_TMPDIR
 
-#define NO_SHORTNAMES
-
 #define PATCHLEVEL 2
 
 #define NO_SHORTNAMES
 /* gnuserv should not be compiled using SOCKS */
 #define DO_NOT_SOCKSIFY
+#define DONT_ENCAPSULATE
 #include <config.h>
-#undef read
-#undef write
-#undef open
-#undef close
 #undef signal
 
 /* Define the communication method between server and clients:
@@ -174,7 +169,7 @@
  */
 #ifndef DONT_USE_LITOUT
 #if !defined(HAVE_TERMIO) && !defined(HAVE_TERMIOS) && !defined(VMS)
-#if !defined(MSDOS) && !defined(BSD4_1)
+#if !defined(BSD4_1)
 #define USE_LITOUT
 #endif
 #endif
@@ -216,7 +211,7 @@
 void disconnect_from_ipc_server();
 #endif
 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS)
-void send_string (int s, CONST char *msg);
+void send_string (int s, const char *msg);
 void disconnect_from_server (int s, int echo);
 int read_line (int s, char *dest);
 #endif