aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-10-31 21:32:34 +0000
committergoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-10-31 21:32:34 +0000
commitdbc53b9f3735db62b49e9ea2e0f84344db4910b9 (patch)
tree6501285964a8397c4aeb88fc09da0326a97d9040
parent66172041078f257d947d8a522b94af2687218b95 (diff)
Checking for HAVE_SOCKET_TYPE rather than SOCKET to decide if need to define
own SOCKET macro. This is because the NT compiler at NCSA does typedef uint SOCKET; whereas the compiler on my NT where I tested stuff does #define SOCKET uint; so I was previously just checking #ifdef SOCKET. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@100 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r--src/Sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sockets.c b/src/Sockets.c
index 160e6b6..0455d33 100644
--- a/src/Sockets.c
+++ b/src/Sockets.c
@@ -52,7 +52,7 @@ CCTK_FILEVERSION(DevThorns_httpd_Socket_c)
********************* Local Data Types ***********************
********************************************************************/
-#ifndef SOCKET
+#ifndef HAVE_SOCKET_TYPE
#define SOCKET int
#endif