X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..9d9ad67384e5dc658c4de46e49113c321489bf81:/include/wx/univ/inpcons.h?ds=inline

diff --git a/include/wx/univ/inpcons.h b/include/wx/univ/inpcons.h
index 15325534fc..e370a4f6f6 100644
--- a/include/wx/univ/inpcons.h
+++ b/include/wx/univ/inpcons.h
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_INPCONS_H_
 #define _WX_UNIV_INPCONS_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "inpcons.h"
 #endif