]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable MSVC C4133 when using stdatomic.h win32 shim
authorOndřej Surý <ondrej@isc.org>
Wed, 8 Apr 2020 13:42:47 +0000 (15:42 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 15 Apr 2020 10:45:05 +0000 (12:45 +0200)
lib/isc/win32/include/isc/stdatomic.h

index 15cf9b6f0bfc6cb48945d5b978358c6511930b17..8eacb011a94a222f6a09c91978ae0ff4938223df 100644 (file)
@@ -18,6 +18,8 @@
 #include <stdint.h>
 #include <windows.h>
 
+#pragma warning(disable : 4133)
+
 #define InterlockedExchangeAdd8            _InterlockedExchangeAdd8
 #define InterlockedCompareExchange8 _InterlockedCompareExchange8