X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..461fe6e2559a3096d4985a50ba106f26ed890a1d:/src/common/matrix.cpp

diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp
index 96aee82855..d0d16755a3 100644
--- a/src/common/matrix.cpp
+++ b/src/common/matrix.cpp
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "matrix.h"
 #endif