-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__OS2__)
#include "jconfig.vc"
#else
#ifdef __MWERKS__
#if (__MWERKS__ < 0x0900) || macintosh || defined ( __MACH__ )
# ifndef __WXMAC__
-# define __WWXMAC__
+# define __WXMAC__
# endif
#endif
#endif
#undef CHAR_IS_UNSIGNED
#endif
+#ifndef HAVE_STDDEF_H
#define HAVE_STDDEF_H
+#endif
+
+#ifndef HAVE_STDLIB_H
#define HAVE_STDLIB_H
+#endif
+
#undef NEED_BSD_STRINGS
#undef NEED_SYS_TYPES_H
#undef NEED_FAR_POINTERS