diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 23:19:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 23:19:39 +0300 |
commit | ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0 (patch) | |
tree | 9c453c7517ca6b213a0e4cb0c547beec41d5c361 /src/test | |
parent | 3711139801743b0bcc20384e35903a4581fe6b7a (diff) | |
download | ManaVerse-ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0.tar.gz ManaVerse-ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0.tar.bz2 ManaVerse-ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0.tar.xz ManaVerse-ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0.zip |
Fix compilation without simd support.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testlauncher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index 24188f6ed..c8ed805a4 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -481,6 +481,7 @@ int TestLauncher::testDye() } #if defined __linux__ || defined __linux +#ifdef SIMD_SUPPORTED static void initBuffer(uint32_t *const buf, const int sz) { @@ -503,7 +504,6 @@ static void calcTime(const char *const msg1, printf("%s: %011ld\n", msg2, diff); } -#ifdef SIMD_SUPPORTED #define runDyeTest(msg1, msg2, func) \ initBuffer(buf, sz); \ pal.func(buf, sz); \ |