]> granicus.if.org Git - gc/commit
Workaround 'value of WINAPI unknown' cppcheck info messages
authorIvan Maidanski <ivmai@mail.ru>
Sat, 22 Oct 2016 14:39:36 +0000 (17:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 22 Oct 2016 14:39:36 +0000 (17:39 +0300)
commita315119c0b05dbc54ac4069220373971b5284e99
tree92755ed7a81c7b7f38ab337ff9d7f40f073a3347
parent842f762f18106677addecb0e2ca00c9cbf745e53
Workaround 'value of WINAPI unknown' cppcheck info messages

* include/gc.h [GC_WIN32_THREADS && WINAPI && !CPPCHECK]
(GC_WINDOWS_H_INCLUDED): New macro.
* include/gc.h [GC_WIN32_THREADS] (GC_WINDOWS_H_INCLUDED): Define also
if windows.h included.
* include/gc.h [GC_WIN32_THREADS]: Replace "#ifdef WINAPI" with
"#ifdef GC_WINDOWS_H_INCLUDED".
include/gc.h