diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-05-27 17:57:39 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-05-27 17:57:39 +0300 |
commit | 7f1513efc55180a75e1f4dc3010e1b3b391dbdfb (patch) | |
tree | 2f0fbf21e5fa63887a466709cc424c867dec6d87 /source/blender/blenlib/intern/system.c | |
parent | 29a29699f7ca126552d33edc832f1228ee5dabe9 (diff) |
Cleanup: Fix warning in blenlib with MSVC
Some versions of the Windows SDK headers have a dbghelp.h that will emit
C4091 warnings, repress them just this once, since the warn can be helpful
in other places.
Diffstat (limited to 'source/blender/blenlib/intern/system.c')
-rw-r--r-- | source/blender/blenlib/intern/system.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/system.c b/source/blender/blenlib/intern/system.c index f7892f5c224..88f2e2625e8 100644 --- a/source/blender/blenlib/intern/system.c +++ b/source/blender/blenlib/intern/system.c @@ -33,7 +33,10 @@ #if defined(WIN32) # include <intrin.h> # include <windows.h> +# pragma warning(push) +# pragma warning(disable : 4091) # include <dbghelp.h> +# pragma warning(pop) #else # include <execinfo.h> # include <unistd.h> |