diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-05 00:51:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-05 00:51:49 +0300 |
commit | 5fff083df4d1790d7a2af7ccaffa2f8d19d7e225 (patch) | |
tree | 816adde1c481c89911dd50030e25093daa63346f /src/test/testlauncher.cpp | |
parent | f8afdaba205e46c9c1194208a7122a67962c478b (diff) | |
download | plus-5fff083df4d1790d7a2af7ccaffa2f8d19d7e225.tar.gz plus-5fff083df4d1790d7a2af7ccaffa2f8d19d7e225.tar.bz2 plus-5fff083df4d1790d7a2af7ccaffa2f8d19d7e225.tar.xz plus-5fff083df4d1790d7a2af7ccaffa2f8d19d7e225.zip |
Fix compilation warnings with some flags.s20170605
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index c94f72465..19b378b8c 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -503,6 +503,8 @@ int TestLauncher::testDye() } #if defined __linux__ || defined __linux +#if defined(SIMD_SUPPORTED) || (SDL_BYTEORDER == SDL_LIL_ENDIAN \ +&& !defined(USE_SDL2)) static void calcTime(const char *const msg1, const char *const msg2, const timespec &time1, @@ -517,6 +519,7 @@ static void calcTime(const char *const msg1, printf("%s: %u\n", msg1, buf[0]); printf("%s: %011ld\n", msg2, diff); } +#endif // defined(SIMD_SUPPORTED) || (SDL_BYTEORDER == SDL_LIL_ENDIAN #ifdef SIMD_SUPPORTED static void initBuffer(uint32_t *const buf, |