stdatomic/win32: only include the lean windows headers to avoid conflicts
authorHendrik Leppkes <h.leppkes@gmail.com>
Tue, 4 Apr 2017 07:33:23 +0000 (09:33 +0200)
committerHendrik Leppkes <h.leppkes@gmail.com>
Tue, 4 Apr 2017 07:33:23 +0000 (09:33 +0200)
compat/atomics/win32/stdatomic.h

index fa7ef51..092f453 100644 (file)
@@ -19,6 +19,7 @@
 #ifndef COMPAT_ATOMICS_WIN32_STDATOMIC_H
 #define COMPAT_ATOMICS_WIN32_STDATOMIC_H
 
+#define WIN32_LEAN_AND_MEAN
 #include <stddef.h>
 #include <stdint.h>
 #include <windows.h>