Fix warnings 'macro argument should be enclosed in parentheses'

This commit is contained in:
Sylvain
2022-12-05 15:20:48 +01:00
committed by Sam Lantinga
parent 8cafde5ecc
commit af5bda5ef3
10 changed files with 58 additions and 58 deletions

View File

@@ -956,7 +956,7 @@ static Uint32 SDL_GetCPUFeatures(void)
return SDL_CPUFeatures;
}
#define CPU_FEATURE_AVAILABLE(f) ((SDL_GetCPUFeatures() & f) ? SDL_TRUE : SDL_FALSE)
#define CPU_FEATURE_AVAILABLE(f) ((SDL_GetCPUFeatures() & (f)) ? SDL_TRUE : SDL_FALSE)
SDL_bool SDL_HasRDTSC(void)
{