]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcmemory.h
Blind bug fix to bug reported by Angel Kry.
[wxWidgets.git] / include / wx / motif / dcmemory.h
index 5d85ded03e558c153c7e346192d835f449f865ce..c6fa2faf9d26bd26eb70664eb989dbe1cbd2ae49 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DCMEMORY_H_
 #define _WX_DCMEMORY_H_
 
 #ifndef _WX_DCMEMORY_H_
 #define _WX_DCMEMORY_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcmemory.h"
 #endif
 
 #pragma interface "dcmemory.h"
 #endif