Browse Source

engine: platform: sdl: fix parentheses around IsAudioError macro

pull/2/head
Alibek Omarov 2 years ago
parent
commit
3a8c58d192
  1. 4
      engine/platform/sdl/s_sdl.c

4
engine/platform/sdl/s_sdl.c

@ -34,9 +34,9 @@ GNU General Public License for more details. @@ -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
/*

Loading…
Cancel
Save