X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf6a063410b3fa401c913153a64f81d700fbda4..683510536fc4c7eb8e0bfbc5868619f0ab3287df:/include/wx/x11/dcscreen.h?ds=inline

diff --git a/include/wx/x11/dcscreen.h b/include/wx/x11/dcscreen.h
index 67fd3d6df2..b1c32801f5 100644
--- a/include/wx/x11/dcscreen.h
+++ b/include/wx/x11/dcscreen.h
@@ -12,7 +12,7 @@
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcscreen.h"
 #endif