Mercurial > hg > xemacs-beta
diff lib-src/gnuserv.h @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children |
line wrap: on
line diff
--- a/lib-src/gnuserv.h Mon Aug 13 11:19:22 2007 +0200 +++ b/lib-src/gnuserv.h Mon Aug 13 11:20:41 2007 +0200 @@ -36,13 +36,18 @@ #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> +#include <../src/config.h> +#undef read +#undef write +#undef open +#undef close #undef signal /* Define the communication method between server and clients: @@ -169,7 +174,7 @@ */ #ifndef DONT_USE_LITOUT #if !defined(HAVE_TERMIO) && !defined(HAVE_TERMIOS) && !defined(VMS) -#if !defined(BSD4_1) +#if !defined(MSDOS) && !defined(BSD4_1) #define USE_LITOUT #endif #endif @@ -211,7 +216,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