From 143e1c1a14956eefacd7ec2f9ccc595a2f5baa92 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 18 Oct 2015 01:33:35 +0200 Subject: [PATCH] Do not compile unused sections --- test/default/aead_aes256gcm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/default/aead_aes256gcm.c b/test/default/aead_aes256gcm.c index 5e56d56b..40c745bd 100644 --- a/test/default/aead_aes256gcm.c +++ b/test/default/aead_aes256gcm.c @@ -2,6 +2,9 @@ #define TEST_NAME "aead_aes256gcm" #include "cmptest.h" +#if defined(HAVE_WMMINTRIN_H) || \ + (defined(_MSC_VER) && (defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86))) + static struct { const char *key_hex; const char *nonce_hex; @@ -3076,9 +3079,6 @@ static struct { } }; -#if defined(HAVE_WMMINTRIN_H) || \ - (defined(_MSC_VER) && (defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86))) - int tv(void) {