]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dirdlgg.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / dirdlgg.h
index f3377ed0cf576e21dbe1fc4faf263bceecf37ac3..3133ca5ab60f8c9555fe2fc03f23fca1509b1e2a 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef _WX_DIRDLGG_H_
 #define _WX_DIRDLGG_H_
 
 #ifndef _WX_DIRDLGG_H_
 #define _WX_DIRDLGG_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dirdlgg.h"
 #endif
 
 #pragma interface "dirdlgg.h"
 #endif