X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fmsvc-nothrow.c;h=785733e43951e4148649cb494f02b71a81db6edf;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=8d65472a8251d47042fd07b9295d7a660d840150;hpb=d738e90e8360e101b94fca8c79147f59565f62d8;p=debian%2Fgzip
diff --git a/lib/msvc-nothrow.c b/lib/msvc-nothrow.c
index 8d65472..785733e 100644
--- a/lib/msvc-nothrow.c
+++ b/lib/msvc-nothrow.c
@@ -1,6 +1,6 @@
/* Wrappers that don't throw invalid parameter notifications
with MSVC runtime libraries.
- Copyright (C) 2011-2013 Free Software Foundation, Inc.
+ Copyright (C) 2011-2018 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -13,7 +13,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
- with this program; if not, see . */
+ with this program; if not, see . */
#include
@@ -24,7 +24,9 @@
#define WIN32_LEAN_AND_MEAN
#include
-#include "msvc-inval.h"
+#if HAVE_MSVC_INVALID_PARAMETER_HANDLER
+# include "msvc-inval.h"
+#endif
#undef _get_osfhandle