diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-19 18:47:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-19 18:47:09 +0200 |
commit | bb6c25c468fe7bf0dcd2c1c81881c83aff8fbbda (patch) | |
tree | e610e1649796d7d66f3e6d6bf1722fe9528cbf7b | |
parent | 89f52a1fc70f39855483fce29834389e169860b3 (diff) |
Squash warnings in Windows SDK 8 imagehlp.h
-rw-r--r-- | libbutl/process.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libbutl/process.cxx b/libbutl/process.cxx index 641866e..f74fe95 100644 --- a/libbutl/process.cxx +++ b/libbutl/process.cxx @@ -13,7 +13,13 @@ #else # include <libbutl/win32-utility.hxx> -# include "imagehlp.h" // ImageLoad(), etc (PE insepction for MSYS2 detect). +# ifdef _MSC_VER +# pragma warning (push, 1) +# endif +# include <imagehlp.h> // ImageLoad(), etc (PE insepction for MSYS2 detect). +# ifdef _MSC_VER +# pragma warning (pop) +# endif # include <io.h> // _get_osfhandle(), _close() # include <stdlib.h> // _MAX_PATH |