git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5303
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include <stdlib.h>
#define BSDTYPES
#define HAVE_UNISTD_H 0
-#elif defined(_WINDOWS) || defined(__WIN32__) || defined(_Windows)
-# if !defined(__MINGW32__) /* GRG */
-# define BSDTYPES
-# endif
+/* GRG: added check for MINGW32 */
+#elif (defined(_WINDOWS) || defined(__WIN32__) || defined(_Windows)) && !defined(__MINGW32__)
+#define BSDTYPES
#elif defined(OS2_16) || defined(OS2_32)
#define BSDTYPES
#elif defined(__acornriscos)