X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a317e61887db770025fc6c642c2105f1cefe3ac..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/univ/framuniv.cpp

diff --git a/src/univ/framuniv.cpp b/src/univ/framuniv.cpp
index d4c06aa36b..1fa17e7a06 100644
--- a/src/univ/framuniv.cpp
+++ b/src/univ/framuniv.cpp
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univframe.h"
 #endif