aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2017-04-04 09:33:23 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2017-04-04 09:33:23 +0200
commit9ac1e884365314765f75517e91563be0351f6bd1 (patch)
tree2239725ab52c34d607fac4d91723df6b81fc3105
parent0c20f9fcab41fe7468a898919d2e3cf7bb6b432a (diff)
downloadffmpeg-9ac1e884365314765f75517e91563be0351f6bd1.tar.gz
stdatomic/win32: only include the lean windows headers to avoid conflicts
-rw-r--r--compat/atomics/win32/stdatomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/atomics/win32/stdatomic.h b/compat/atomics/win32/stdatomic.h
index fa7ef51ea5..092f453978 100644
--- a/compat/atomics/win32/stdatomic.h
+++ b/compat/atomics/win32/stdatomic.h
@@ -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>