aboutsummaryrefslogtreecommitdiff
path: root/libbutl/process.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-19 18:47:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-19 18:47:09 +0200
commitbb6c25c468fe7bf0dcd2c1c81881c83aff8fbbda (patch)
treee610e1649796d7d66f3e6d6bf1722fe9528cbf7b /libbutl/process.cxx
parent89f52a1fc70f39855483fce29834389e169860b3 (diff)
Squash warnings in Windows SDK 8 imagehlp.h
Diffstat (limited to 'libbutl/process.cxx')
-rw-r--r--libbutl/process.cxx8
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