From ae072480721f82bda63771a4ef1d9ef278d2b1b0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 30 Aug 2005 19:23:11 +0000 Subject: [PATCH] define _LANGUAGE_C_PLUS_PLUS for IRIX (closes bug 1105676) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/platform.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/wx/platform.h b/include/wx/platform.h index ee3a9458fa..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__)