Do not compile unused sections

This commit is contained in:
Frank Denis 2015-10-18 01:33:35 +02:00
parent 1cfa5ec6c1
commit 143e1c1a14

View File

@ -2,6 +2,9 @@
#define TEST_NAME "aead_aes256gcm" #define TEST_NAME "aead_aes256gcm"
#include "cmptest.h" #include "cmptest.h"
#if defined(HAVE_WMMINTRIN_H) || \
(defined(_MSC_VER) && (defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86)))
static struct { static struct {
const char *key_hex; const char *key_hex;
const char *nonce_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 int
tv(void) tv(void)
{ {