]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gsocket.c
Changed code to get rid of a compiler warning about statement always being FALSE
[wxWidgets.git] / src / os2 / gsocket.c
index 8ba4efe94a37ca7e31e2dd789f499fccfb1c4cf5..1eef6eb14c1c29e615b122d5f1659e347b6b2030 100644 (file)
@@ -57,7 +57,12 @@ int _System soclose(int);
 
 #include <string.h>
 #include <stdio.h>
-#include <stdlib.h>
+#if defined(__VISAGECPP__) && __IBMCPP__ < 400
+#  ifdef min
+#  undef min
+#  endif
+#  include <stdlib.h>
+#endif
 #include <stddef.h>
 #include <ctype.h>