]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libatomic/config/mingw/lock.c
Always define `WIN32_LEAN_AND_MEAN` before <windows.h>
[thirdparty/gcc.git] / libatomic / config / mingw / lock.c
index 6efa42cea7392fe07f263dff8da9fd8b897668f4..0dcf07031e66278f013ed74d959c9859eec2c0b4 100644 (file)
@@ -23,6 +23,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #define UWORD __shadow_UWORD
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #undef UWORD
 #include "libatomic_i.h"