X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a246f95e96183bc81bf5be5e1927d9bb53094f55..9959e2b6aa19b1f113a0355e60aa53ad3d6b5fdf:/src/mgl/clipbrd.cpp

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