]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/accel.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / accel.h
index 2067e0fd23551e72f1f66ee5c0cee6e195ba51b4..1d05a92a99fbf8a01dc87e6432b7155f1aafaec6 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _WX_GENERIC_ACCEL_H_
 #define _WX_GENERIC_ACCEL_H_
 
 #ifndef _WX_GENERIC_ACCEL_H_
 #define _WX_GENERIC_ACCEL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "accel.h"
 #endif
 
 #pragma interface "accel.h"
 #endif