From a502c235538c21e1287b36803a59dffb4aa675ae Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Wed, 16 Dec 2009 09:30:32 -0500 Subject: [PATCH] All of invalid_parameter_handler() are used only when HAVE__CrtSetReportMode is defined. SVN-Revision: 1753 --- cpio/test/main.c | 2 +- libarchive/test/main.c | 2 +- tar/test/main.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpio/test/main.c b/cpio/test/main.c index 88aa064da..ac651f870 100644 --- a/cpio/test/main.c +++ b/cpio/test/main.c @@ -153,7 +153,7 @@ my_GetFileInformationByName(const char *path, BY_HANDLE_FILE_INFORMATION *bhfi) } #endif -#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__GNUC__) +#if defined(HAVE__CrtSetReportMode) static void invalid_parameter_handler(const wchar_t * expression, const wchar_t * function, const wchar_t * file, diff --git a/libarchive/test/main.c b/libarchive/test/main.c index 301ce55a3..c3dfb5856 100644 --- a/libarchive/test/main.c +++ b/libarchive/test/main.c @@ -152,7 +152,7 @@ my_GetFileInformationByName(const char *path, BY_HANDLE_FILE_INFORMATION *bhfi) } #endif -#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__GNUC__) +#if defined(HAVE__CrtSetReportMode) static void invalid_parameter_handler(const wchar_t * expression, const wchar_t * function, const wchar_t * file, diff --git a/tar/test/main.c b/tar/test/main.c index 33355855c..d26f98124 100644 --- a/tar/test/main.c +++ b/tar/test/main.c @@ -154,7 +154,7 @@ my_GetFileInformationByName(const char *path, BY_HANDLE_FILE_INFORMATION *bhfi) } #endif -#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__GNUC__) +#if defined(HAVE__CrtSetReportMode) static void invalid_parameter_handler(const wchar_t * expression, const wchar_t * function, const wchar_t * file, -- 2.47.3