]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 12 Nov 1999 11:25:41 +0000 (11:25 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 12 Nov 1999 11:25:41 +0000 (11:25 +0000)
 VMS patch

 Modified Files:
  wxWindows/include/wx/defs.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 86557c48384fa9b4194053418fc832f591bc564a..e4b38e1001758d7346f2f410246de77a1ecd7406 100644 (file)
@@ -30,7 +30,7 @@
 #if defined(__unix) || defined(__unix__) || defined(____SVR4____) || \
     defined(__LINUX__) || defined(__sgi ) || \
     defined(__hpux) || defined(sun) || defined(__SUN__) || defined(_AIX) || \
-    defined(__EMX__)
+    defined(__EMX__) || defined( __VMS )
 
     #define __UNIX_LIKE__
 
 // Digital Unix C++ compiler only defines this symbol for .cxx and .hxx files,
 // so define it ourselves
 #ifdef __DECCXX
-    #define __cplusplus
+#ifndef VMS
+# define __cplusplus
+#endif
 #endif // __DECCXX
 
 // Resolves linking problems under HP-UX
     // NB: of course, this doesn't replace the standard type, because, for
     //     example, overloading based on bool/int parameter doesn't work and
     //     so should be avoided in portable programs
-    typedef unsigned int bool;
+#ifndef VMS
+typedef unsigned int bool;
+#endif
 #endif // bool
 
 typedef short int WXTYPE;