X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7dc85fe2be1be197ce59a0e316d81e08efcc38d4..1b72277062ff283f11041a3e231b352899b203ed:/src/common/geometry.cpp

diff --git a/src/common/geometry.cpp b/src/common/geometry.cpp
index a01c529651..51fe2842ee 100644
--- a/src/common/geometry.cpp
+++ b/src/common/geometry.cpp
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "geometry.cpp"
 #endif