Fix missing parens in preprocessor defined op

This commit is contained in:
Maia 2024-12-22 15:41:59 +01:00 committed by Ryan C. Gordon
parent 8475c496b4
commit ca4ffc8a00

View file

@ -226,7 +226,7 @@ disable assertions.
*/
#define SDL_NULL_WHILE_LOOP_CONDITION (0)
#elif defined _MSC_VER /* Avoid /W4 warnings. */
#elif defined(_MSC_VER) /* Avoid /W4 warnings. */
/* "while (0,0)" fools Microsoft's compiler's /W4 warning level into thinking
this condition isn't constant. And looks like an owl's face! */
#define SDL_NULL_WHILE_LOOP_CONDITION (0,0)