]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove redundant defines of WINVER and _WIN32_WINNT from CRYPTO_CHECK_WIN.
authorAndres Mejia <amejia004@gmail.com>
Tue, 5 Feb 2013 23:23:53 +0000 (18:23 -0500)
committerAndres Mejia <amejia004@gmail.com>
Tue, 5 Feb 2013 23:23:53 +0000 (18:23 -0500)
Defines will be added from confdefs.h which is generated while configure script executes.

configure.ac

index aa1a5c0f76151ac5de74988d8f9515b2df976316..feef50507ce364aa607b1046b276c324ceb1a0ed 100644 (file)
@@ -669,8 +669,6 @@ AC_DEFUN([CRYPTO_CHECK_WIN], [
   if test "$found_$1" != yes; then
     AC_MSG_CHECKING([support for ARCHIVE_CRYPTO_$1_WIN])
     AC_LINK_IFELSE([AC_LANG_SOURCE([
-#define _WIN32_WINNT 0x0500
-#define WINVER 0x0500
 #define ARCHIVE_$1_COMPILE_TEST
 #include <windows.h>
 #include <wincrypt.h>