X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bddd7a8d8953cf4c09e56c13e1bfcc594ba0267e..b6fa290b5a077a97ec79496972302bccd567bf73:/include/wx/memory.h

diff --git a/include/wx/memory.h b/include/wx/memory.h
index ab82ae3acd..6b1bed37cd 100644
--- a/include/wx/memory.h
+++ b/include/wx/memory.h
@@ -12,7 +12,7 @@
 #ifndef _WX_MEMORYH__
 #define _WX_MEMORYH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "memory.h"
 #endif