X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7eb00c80b23bc936a3a54b002bde7bc5ce0ecf63..07f93593809177eda6317a13f9b111759a52a3d2:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index ee3a9458fa..f91591ed01 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -329,6 +329,11 @@ */ # define __SGI_CC__ # endif /* gcc/!gcc */ + + /* system headers use this symbol and not __cplusplus in some places */ +# ifndef _LANGUAGE_C_PLUS_PLUS +# define _LANGUAGE_C_PLUS_PLUS +# endif # endif /* SGI */ # if defined(sun) || defined(__SUN__) @@ -393,14 +398,16 @@ __DARWIN__ for Darwin related corrections (wxMac, wxMotif) */ #elif defined(__OS2__) + + /* wxOS2 vs. non wxOS2 ports on OS2 platform */ +# if !defined(__WXMOTIF__) && !defined(__WXGTK__) && !defined(__WXX11__) +# ifndef __WXPM__ +# define __WXPM__ +# endif +# endif + # if defined(__IBMCPP__) # define __VISAGEAVER__ __IBMCPP__ -# endif -# ifndef __WXOS2__ -# define __WXOS2__ -# endif -# ifndef __WXPM__ -# define __WXPM__ # endif /* Place other OS/2 compiler environment defines here */ @@ -471,6 +478,10 @@ # endif #endif +#ifdef __INTEL_COMPILER +# define __INTELC__ +#endif + /* We get "Large Files (ILP32) not supported in strict ANSI mode." #error from HP-UX standard headers when compiling with g++ without this: @@ -479,9 +490,11 @@ # define __STDC_EXT__ 1 #endif -/* Force linking against required libraries under Windows CE: */ +/* Force linking against required libraries under Windows: */ #ifdef __WXWINCE__ # include "wx/msw/wince/libraries.h" +#elif defined __WINDOWS__ +# include "wx/msw/libraries.h" #endif /*