X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/592a74653422b4bb8bd90e566e6612d8c0930e67..a06e389f0a5bafa9c8e5bcd7674f41335c4adce2:/include/wx/platform.h?ds=sidebyside diff --git a/include/wx/platform.h b/include/wx/platform.h index 3841c8c6ba..601f6d2ce0 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__) @@ -471,6 +476,14 @@ # endif #endif +/* + We get "Large Files (ILP32) not supported in strict ANSI mode." #error + from HP-UX standard headers when compiling with g++ without this: + */ +#if defined(__HPUX__) && !defined(__STDC_EXT__) +# define __STDC_EXT__ 1 +#endif + /* Force linking against required libraries under Windows CE: */ #ifdef __WXWINCE__ # include "wx/msw/wince/libraries.h"