]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
All of invalid_parameter_handler() are used only when HAVE__CrtSetReportMode is defined.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 16 Dec 2009 14:30:32 +0000 (09:30 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 16 Dec 2009 14:30:32 +0000 (09:30 -0500)
SVN-Revision: 1753

cpio/test/main.c
libarchive/test/main.c
tar/test/main.c

index 88aa064dacda390e5dba473ba74dd61f05e7d482..ac651f870bbc0dbf2a2928e0057eec6df69dcfab 100644 (file)
@@ -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,
index 301ce55a305a7193751d62bea0d1639fd15368ff..c3dfb5856951100e521415a4669fc2139266ca61 100644 (file)
@@ -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,
index 33355855c6017506ed61d9e8353ff85f41aebc51..d26f98124a6d310e3defa0f22679bba101d6cb93 100644 (file)
@@ -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,