]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
wxUSE_SPLINES markup and other cleanings.
[wxWidgets.git] / include / wx / platform.h
index 3841c8c6ba797e27fe4605d656096456e53ea4a8..601f6d2ce0a231cc07cc98e7750fffee6b7dd75c 100644 (file)
              */
 #            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__)
 #    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"