Fix warnings 'macro argument should be enclosed in parentheses'

This commit is contained in:
Sylvain authored and Sam Lantinga committed 2022-12-05 09:06:44 -08:00
1 parent 8cafde5ecc
commit af5bda5ef3
10 files changed
+58 -58

No files matched your search

+1 -1
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)
{