changeset 1329:19bfcdbab74e

Hopefully the last socklen_t change... OS/2 needs it too.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 10 Nov 2011 13:30:14 +0000
parents be2c04276209
children c63069148357
files compat.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/compat.h	Thu Nov 10 03:54:32 2011 +0000
+++ b/compat.h	Thu Nov 10 13:30:14 2011 +0000
@@ -320,8 +320,8 @@
 }
 #endif
 
-/* Visual Studio doesn't define this... so just in case */
-#ifdef MSVC
+/* Ok Windows and OS/2 both seem to be missing this */
+#if defined(__WIN32__) || defined(__OS2__)
 typedef int socklen_t;
 #endif