Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/windowsx.h')
-rw-r--r--winsup/w32api/include/windowsx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/w32api/include/windowsx.h b/winsup/w32api/include/windowsx.h
index 37a439a37..460718e64 100644
--- a/winsup/w32api/include/windowsx.h
+++ b/winsup/w32api/include/windowsx.h
@@ -1,5 +1,9 @@
#ifndef _WINDOWSX_H
#define _WINDOWSX_H
+#if __GNUC__ >=3
+#pragma GCC system_header
+#endif
+
#define WM_CTLCOLOR 25
#define Button_Enable(hwndCtl,fEnable) EnableWindow((hwndCtl),(fEnable))
#define Button_GetCheck(hwndCtl) ((int)(DWORD)SendMessage((hwndCtl),BM_GETCHECK,0,0))