X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa929e784d62245d10ede230ceabaaf22c91122..bf2c4b942a89de50e29d9296f68420ce43603373:/src/os2/gsocket.c diff --git a/src/os2/gsocket.c b/src/os2/gsocket.c index 44ff3ad5ff..1eef6eb14c 100644 --- a/src/os2/gsocket.c +++ b/src/os2/gsocket.c @@ -57,7 +57,12 @@ int _System soclose(int); #include #include -#include +#if defined(__VISAGECPP__) && __IBMCPP__ < 400 +# ifdef min +# undef min +# endif +# include +#endif #include #include @@ -80,19 +85,10 @@ int _System soclose(int); /* Global initialisers */ -#if !defined(__VISAGECPP__) - int GSocket_Init() { return 1; } -#else -bool GSocket_Init() -{ - return 1; -} - -#endif void GSocket_Cleanup() {