diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2019-09-14 12:00:38 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2019-09-14 12:00:38 +0300 |
commit | a044fbb21a374c960822165bff2768f3398d4a14 (patch) | |
tree | a8f5de33c65871d798084444a71f9af46f25f2e7 /mallocx.c | |
parent | 5b08f43d7839fed6863674ebcb7d1c2122e61bde (diff) | |
download | bdwgc-a044fbb21a374c960822165bff2768f3398d4a14.tar.gz |
Eliminate 'static GC_sysinfo definition has incomplete type' Clang warning
Tentative definition of variable with internal linkage has incomplete
non-array type 'struct _SYSTEM_INFO'.
The warning observed only in single-threaded shared builds by Clang.
* include/private/gc_priv.h [MSWIN32 || MSWINCE || CYGWIN32]
(WIN32_LEAN_AND_MEAN, NOSERVICE): Define macro.
* include/private/gc_priv.h [MSWIN32 || MSWINCE || CYGWIN32]: Include
windows.h (wrapped into EXTERN_C_END/BEGIN) before GC_sysinfo
declaration.
* include/private/gc_priv.h [MSWIN32 || MSWINCE || CYGWIN32]
(_SYSTEM_INFO): Do not declare.
* include/private/gc_priv.h [MSWIN32 || MSWINCE || CYGWIN32]
(GC_sysinfo): Change type from struct _SYSTEM_INFO to SYSTEM_INFO.
Diffstat (limited to 'mallocx.c')
0 files changed, 0 insertions, 0 deletions