From 458ed37d80a4e8ed86914b24ea4cd3776f39685a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 14 Oct 1999 15:52:35 +0000 Subject: [PATCH] never undefine 'inline' keyword for C++ compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- setup.h.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.h.in b/setup.h.in index 6b51e00caa..c47f9abb77 100644 --- a/setup.h.in +++ b/setup.h.in @@ -1,5 +1,5 @@ -/* This define (__WX_SETUP_H__) is used both to insure setup.h is included +/* This define (__WX_SETUP_H__) is used both to insure setup.h is included * only once and to indicate that we are building using configure. */ #ifndef __WX_SETUP_H__ #define __WX_SETUP_H__ @@ -8,9 +8,11 @@ #pragma interface #endif - +/* never undefine inline keyword for C++ compilation */ +#ifndef __cplusplus /* Define to empty if the keyword does not work. */ #undef const +#endif /* Define to `int' if doesn't define. */ #undef gid_t