X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..4dc8d4b7c20b87855c0c11efcb3894be5d4bf2b2:/src/univ/inphand.cpp

diff --git a/src/univ/inphand.cpp b/src/univ/inphand.cpp
index 92764b60eb..73357762fb 100644
--- a/src/univ/inphand.cpp
+++ b/src/univ/inphand.cpp
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "inphand.h"
 #endif