From 653eafdf4f51116c8c0aecd02c6ba20eaf44a8bb Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Wed, 1 Oct 2003 16:43:17 +0000 Subject: [PATCH] More wxMac compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/emulator/src/emulator.cpp | 2 +- utils/emulator/src/emulator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/emulator/src/emulator.cpp b/utils/emulator/src/emulator.cpp index f7eb9459aa..15c5ee95d4 100644 --- a/utils/emulator/src/emulator.cpp +++ b/utils/emulator/src/emulator.cpp @@ -13,7 +13,7 @@ // declarations // ============================================================================ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "emulator.h" #endif diff --git a/utils/emulator/src/emulator.h b/utils/emulator/src/emulator.h index 5e14259c65..f24bf66f21 100644 --- a/utils/emulator/src/emulator.h +++ b/utils/emulator/src/emulator.h @@ -12,7 +12,7 @@ #ifndef _WX_EMULATOR_H_ #define _WX_EMULATOR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "emulator.h" #endif -- 2.45.2