Mercurial > hg > xemacs-beta
diff lib-src/gnuclient.c @ 881:dfee0026a079
[xemacs-hg @ 2002-06-25 08:09:01 by stephent]
fix no-Internet gnuclient <15605.25099.148651.76763@slab.corp.buildpoint.com>
author | stephent |
---|---|
date | Tue, 25 Jun 2002 08:09:02 +0000 |
parents | 943eaba38521 |
children | 04bc9d2f42c7 |
line wrap: on
line diff
--- a/lib-src/gnuclient.c Mon Jun 24 22:00:25 2002 +0000 +++ b/lib-src/gnuclient.c Tue Jun 25 08:09:02 2002 +0000 @@ -465,13 +465,14 @@ progname); exit (1); } +#if defined(INTERNET_DOMAIN_SOCKETS) if (suppress_windows_system && hostarg) { fprintf (stderr, "%s: Remote editing is available only on X\n", progname); exit (1); } - +#endif *result = '\0'; if (eval_function || eval_form || load_library) { @@ -563,7 +564,7 @@ } /* Don't do disconnect_from_server because we have already read data, and disconnect doesn't do anything else. */ -#ifndef INTERNET_DOMAIN_SOCKETS +#ifdef SYSV_IPC if (connect_type == (int) CONN_IPC) disconnect_from_ipc_server (s, msgp, FALSE); #endif /* !SYSV_IPC */