X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6874238c54934b2797dd34cb3952ad90ab0e8e75..51d78461fa34267925e31291e2371390611d0d0e:/src/unix/snglinst.cpp

diff --git a/src/unix/snglinst.cpp b/src/unix/snglinst.cpp
index 24ba3328da..df4971de41 100644
--- a/src/unix/snglinst.cpp
+++ b/src/unix/snglinst.cpp
@@ -18,7 +18,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "snglinst.h"
 #endif