#elif defined(__OS2__)
/* wxOS2 vs. non wxOS2 ports on OS2 platform */
-# ifndef __WXMOTIF__
-# ifndef __WXOS2__
-# define __WXOS2__
-# endif
+# if !defined(__WXMOTIF__) && !defined(__WXGTK__) && !defined(__WXX11__)
# ifndef __WXPM__
# define __WXPM__
# endif
# define __STDC_EXT__ 1
#endif
-/* Force linking against required libraries under Windows CE: */
+/* Force linking against required libraries under Windows: */
#ifdef __WXWINCE__
# include "wx/msw/wince/libraries.h"
+#elif defined __WINDOWS__
+# include "wx/msw/libraries.h"
#endif
/*