engine: platform: sdl: fix parentheses around IsAudioError macro

This commit is contained in:
Alibek Omarov 2022-08-31 07:13:02 +03:00
parent 24763f9b07
commit 3a8c58d192

View File

@ -34,9 +34,9 @@ GNU General Public License for more details.
#define SDL_PauseAudioDevice( a, b ) SDL_PauseAudio( ( b ) )
#define SDL_LockAudioDevice( x ) SDL_LockAudio()
#define SDL_UnlockAudioDevice( x ) SDL_UnlockAudio()
#define SDLash_IsAudioError( x ) ( x ) != 0
#define SDLash_IsAudioError( x ) (( x ) != 0)
#else
#define SDLash_IsAudioError( x ) ( x ) == 0
#define SDLash_IsAudioError( x ) (( x ) == 0)
#endif
/*