From: Jouk Jansen Date: Fri, 12 Nov 1999 11:25:41 +0000 (+0000) Subject: Committing in . X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aec34b46824c9396b39a5d64862d873c8ee15557 Committing in . 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 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 86557c4838..e4b38e1001 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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__ @@ -126,7 +126,9 @@ // 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 @@ -299,7 +301,9 @@ // 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;