]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxchar.h
Native PalmOS wxLongLong. Introduction of wxULongLong_t due to 'unsigned' not working...
[wxWidgets.git] / include / wx / wxchar.h
index 32b9a24d1d6e5c181241f1a58e52ebaed78c4c1e..a47178e611ac5b5fe9f0619e2ecf9050e8527247 100644 (file)
         /* Cygwin versions, wchar.h requires sys/types.h */
         #ifdef __CYGWIN__
             #include <sys/types.h>
-            extern "C" {
+            #ifdef __cplusplus
+                extern "C" {
+            #endif
         #endif /* Cygwin */
-                #include <wchar.h>
-        #ifdef __CYGWIN__
+
+        #include <wchar.h>
+
+        #if defined(__CYGWIN__) && defined(__cplusplus)
             }
-        #endif /* Cygwin */
+        #endif /* Cygwin and C++ */
+
     #elif defined(HAVE_WCSTR_H)
         /* old compilers have relevant declarations here */
         #include <wcstr.h>