X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb78397f149e1e94c624b450db62bc540203081f..f3f0d961af5454a3544a4f4f9aced750d4641d69:/src/x11/clipbrd.cpp?ds=inline

diff --git a/src/x11/clipbrd.cpp b/src/x11/clipbrd.cpp
index bb143dcc1f..e9ba9c5a04 100644
--- a/src/x11/clipbrd.cpp
+++ b/src/x11/clipbrd.cpp
@@ -8,7 +8,7 @@
 // Licence:   	wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "clipbrd.h"
 #endif