X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-fwrite.c;h=1f3a66d1e667ef8839e2917cda20d7c377378d6c;hb=200969d8ebed76c9b82837406a87cc767fafac1b;hp=f6699ebad54f9d40a24579b4f2134406c6365dff;hpb=9e30dc1496f3b844fc6b309373cfc5d255b3dce5;p=gnulib.git
diff --git a/tests/test-fwrite.c b/tests/test-fwrite.c
index f6699ebad..1f3a66d1e 100644
--- a/tests/test-fwrite.c
+++ b/tests/test-fwrite.c
@@ -1,5 +1,5 @@
/* Test of fwrite() function.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2012 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
@@ -12,8 +12,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, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see . */
#include
@@ -37,7 +36,8 @@ main (int argc, char **argv)
/* We don't have an fwrite() function that installs an invalid parameter
handler so far. So install that handler here, explicitly. */
-#if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING
+#if HAVE_MSVC_INVALID_PARAMETER_HANDLER \
+ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING
gl_msvc_inval_ensure_handler ();
#endif