From: Michihiro NAKAJIMA Date: Wed, 16 Dec 2009 14:30:32 +0000 (-0500) Subject: All of invalid_parameter_handler() are used only when HAVE__CrtSetReportMode is defined. X-Git-Tag: v2.8.0~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a502c235538c21e1287b36803a59dffb4aa675ae;p=thirdparty%2Flibarchive.git All of invalid_parameter_handler() are used only when HAVE__CrtSetReportMode is defined. SVN-Revision: 1753 --- 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,