X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..5819297093708ae3198004cf0c533b4db248e9ff:/src/html/m_style.cpp

diff --git a/src/html/m_style.cpp b/src/html/m_style.cpp
index b2bcecfc80..6f0eb8d766 100644
--- a/src/html/m_style.cpp
+++ b/src/html/m_style.cpp
@@ -7,7 +7,7 @@
 // Licence:     wxWindows Licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation
 #endif