X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d84afea9d1ec41ee4e2ebb3bf6b87926cf5f04d1..be698f50301674b969cacecc683ffac5ba6e2e16:/include/wx/quantize.h

diff --git a/include/wx/quantize.h b/include/wx/quantize.h
index fac092df9a..7fdeb1d2d5 100644
--- a/include/wx/quantize.h
+++ b/include/wx/quantize.h
@@ -17,7 +17,7 @@
  * For conditions of distribution and use, see the accompanying README file.
  */
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "quantize.h"
 #endif