aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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