]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
insert missing include file for OpenVMS platforms
[wxWidgets.git] / include / wx / platform.h
index 0e0870683009acd96326ab6b3ec509c15acc3e24..7e1124426eef93a0e2870354aec67c66a9087e98 100644 (file)
 #    ifndef __WXMSW__
 #        define __WXMSW__
 #    endif
-
-#    ifndef _WIN32
-#        define _WIN32
-#    endif
-
-#    ifndef WIN32
-#        define WIN32
-#    endif
 #endif
 
 #if defined(__PALMOS__)
 #    ifndef __WXMSW__
 #        define __WXMSW__
 #    endif
-
-#    ifndef __WIN32__
-#        define __WIN32__
-#    endif
 #endif /* Win32 */
 
-#if defined(__WXMSW__) || defined(__WIN32__)
+#if defined(__WXMSW__)
 #   if !defined(__WINDOWS__)
 #       define __WINDOWS__
 #   endif
-#endif
+
+#   ifndef _WIN32
+#        define _WIN32
+#   endif
+
+#   ifndef WIN32
+#        define WIN32
+#   endif
+
+#   ifndef __WIN32__
+#        define __WIN32__
+#   endif
+#endif /* __WXMSW__ */
 
 /* detect MS SmartPhone */
 #if defined( WIN32_PLATFORM_WFSP )
 /* also the 32/64 bit universal builds must be handled accordingly */
 #ifdef __DARWIN__
 #      ifdef __LP64__
+#              undef SIZEOF_VOID_P 
+#              undef SIZEOF_LONG 
+#              undef SIZEOF_SIZE_T 
 #              define SIZEOF_VOID_P 8
 #              define SIZEOF_LONG 8
 #              define SIZEOF_SIZE_T 8
 #      else
+#              undef SIZEOF_VOID_P 
+#              undef SIZEOF_LONG 
+#              undef SIZEOF_SIZE_T 
 #              define SIZEOF_VOID_P 4
 #              define SIZEOF_LONG 4
 #              define SIZEOF_SIZE_T 4