]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/icon.h
Use new C++ sockets for everything except OS/2
[wxWidgets.git] / include / wx / mgl / icon.h
index e79f001ae235b8f59984e4e819915039cdf9216a..40ed949c92db55c3e235f454c6a484b9b99decc7 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __WX_ICON_H__
 #define __WX_ICON_H__
 
 #ifndef __WX_ICON_H__
 #define __WX_ICON_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "icon.h"
 #endif
 
 #pragma interface "icon.h"
 #endif