mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-09 03:16:26 +00:00
Fix warnings 'macro argument should be enclosed in parentheses'
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user