X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fmsvc-nothrow.c;h=785733e43951e4148649cb494f02b71a81db6edf;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=e5cf181a046c48a7d139799ac87e8acc3bf0e35f;hpb=dc84183747ce1703eb99685b5dbde1f65a143c06;p=debian%2Fgzip
diff --git a/lib/msvc-nothrow.c b/lib/msvc-nothrow.c
index e5cf181..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-2012 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