]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
fix for Borland Dll build (SF bug #972989)
[wxWidgets.git] / include / wx / platform.h
index 6004e3dc54b57b64e4685bde97970f6a477f9652..be0205c91bb0146a8d959cfb971dbe388e02cc1b 100644 (file)
@@ -6,7 +6,7 @@
 * Created:     29.10.01 (extracted from wx/defs.h)
 * RCS-ID:      $Id$
 * Copyright:   (c) 1997-2001 wxWidgets team
-* Licence:     wxWidgets licence
+* Licence:     wxWindows licence
 */
 
 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
 #    endif
 #endif
 
+/* detect PocketPC */
+#if defined( WIN32_PLATFORM_PSPC )
+#    ifndef __POCKETPC__
+#        define __POCKETPC__
+#    endif
+#endif
+
+/* detect Standard WinCE SDK */
+#if defined( WCE_PLATFORM_STANDARDSDK )
+#    ifndef __WINCE_STANDARDSDK__
+#        define __WINCE_STANDARDSDK__
+#    endif
+#endif
+
+#if defined(_WIN32_WCE) && !defined(WIN32_PLATFORM_WFSP) && !defined(WIN32_PLATFORM_PSPC)
+#   if (_WIN32_WCE >= 400)
+#       ifndef __WINCE_NET__
+#           define __WINCE_NET__
+#       endif
+#   elif (_WIN32_WCE >= 200) 
+#       ifndef __HANDHELDPC__
+#           define __HANDHELDPC__
+#       endif
+#   endif
+#endif
+
 /*
    Include wx/setup.h for the Unix platform defines generated by configure and
    the library compilation options