diff compat.h @ 1328:be2c04276209

Changed socklen_t typedef #ifdef to check for MSVC.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 10 Nov 2011 03:54:32 +0000
parents 03f0a57c9e87
children 19bfcdbab74e
line wrap: on
line diff
--- a/compat.h	Thu Nov 10 03:46:01 2011 +0000
+++ b/compat.h	Thu Nov 10 03:54:32 2011 +0000
@@ -321,7 +321,7 @@
 #endif
 
 /* Visual Studio doesn't define this... so just in case */
-#ifndef socklen_t
+#ifdef MSVC
 typedef int socklen_t;
 #endif