diff --git a/test/testevdev.c b/test/testevdev.c index fe9e367ee..2ac7ad5b3 100644 --- a/test/testevdev.c +++ b/test/testevdev.c @@ -935,6 +935,7 @@ static const GuessTest guess_tests[] = } }; +SDL_COMPILE_TIME_ASSERT(sizeof_long, sizeof(unsigned long) == 4 || sizeof(unsigned long) == 8); #define SwapLongLE(X) \ ((sizeof(unsigned long) == 4) ? SDL_SwapLE32(X) : SDL_SwapLE64(X))