From c325bc190633349e806d0f2c313ace2338950f88 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 18 Jun 2004 20:16:42 +0000 Subject: Compiler warnings fixes, preprocessor and minor general cleanup. svn path=/trunk/; revision=3901 --- socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'socket.h') diff --git a/socket.h b/socket.h index a89685bc..a0a45bc1 100644 --- a/socket.h +++ b/socket.h @@ -8,7 +8,7 @@ #define SOCKET__ /* Create a new client socket; returns (FILE *)NULL on error */ -#if INET6_ENABLE +#ifdef INET6_ENABLE int SockOpen(const char *host, const char *service, const char *options, const char *plugin); #else /* INET6_ENABLE */ @@ -63,7 +63,7 @@ FIXME: document this */ int UnixOpen(const char *path); -#if SSL_ENABLE +#ifdef SSL_ENABLE int SSLOpen(int sock, char *mycert, char *mykey, char *myproto, int certck, char *certpath, char *fingerprint, char *servercname, char *label); #endif /* SSL_ENABLE */ -- cgit v1.2.3