commit | 1013ae930cd6599dbfb181430996791731d18dc1 | [log] [tgz] |
---|---|---|
author | Steve Lhomme <robux4@ycbcr.xyz> | Thu Apr 16 08:17:21 2020 +0200 |
committer | Liu Hao <lh_mouse@126.com> | Thu Apr 16 22:18:54 2020 +0800 |
tree | bc6ae621a5b8817d885e8fba1a7edc1bb9decb48 | |
parent | 6f44da5e9155e67ac9a09ab1f513046a3c333577 [diff] |
headers: move the C++ check for interlocked API The code is blocked the same way as before. This avoids a warning with clang: ../mingw-w64/mingw-w64-headers/include/winbase.h:3088:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS && defined (__cplusplus) ^ Signed-off-by: Liu Hao <lh_mouse@126.com>