From bb6c25c468fe7bf0dcd2c1c81881c83aff8fbbda Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 19 May 2017 18:47:09 +0200 Subject: Squash warnings in Windows SDK 8 imagehlp.h --- libbutl/process.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -# include "imagehlp.h" // ImageLoad(), etc (PE insepction for MSYS2 detect). +# ifdef _MSC_VER +# pragma warning (push, 1) +# endif +# include // ImageLoad(), etc (PE insepction for MSYS2 detect). +# ifdef _MSC_VER +# pragma warning (pop) +# endif # include // _get_osfhandle(), _close() # include // _MAX_PATH -- cgit v1.1