X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed5317e538f5d3d7b2731b1e4248137f014139a6..6d325d81bc739bf545df5c00183fc7d5880b8a43:/src/common/accesscmn.cpp

diff --git a/src/common/accesscmn.cpp b/src/common/accesscmn.cpp
index a5cb561baa..6a5838d077 100644
--- a/src/common/accesscmn.cpp
+++ b/src/common/accesscmn.cpp
@@ -12,7 +12,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "accessbase.h"
 #endif