X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..51d78461fa34267925e31291e2371390611d0d0e:/src/common/textbuf.cpp

diff --git a/src/common/textbuf.cpp b/src/common/textbuf.cpp
index c9df178872..e77cf8be0d 100644
--- a/src/common/textbuf.cpp
+++ b/src/common/textbuf.cpp
@@ -11,7 +11,7 @@
 // headers
 // ============================================================================
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "textbuf.h"
 #endif