aboutsummaryrefslogtreecommitdiffstats
path: root/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/socket.h b/socket.h
index 658918bb..dcd0ed7a 100644
--- a/socket.h
+++ b/socket.h
@@ -8,13 +8,13 @@
#define SOCKET__
/* Create a new client socket; returns (FILE *)NULL on error */
-#if INET6
+#if INET6_ENABLE
int SockOpen(const char *host, const char *service, const char *options,
const char *plugin);
-#else /* INET6 */
+#else /* INET6_ENABLE */
int SockOpen(const char *host, int clientPort, const char *options,
const char *plugin);
-#endif /* INET6 */
+#endif /* INET6_ENABLE */
/* Returns 1 if this socket is OK, 0 if it isn't select()able
* on - probably because it's been closed. You should