Skip to content

Commit cd98b66

Browse files
raiguardslouken
authored andcommitted
Allow overriding SDL_FORK_MESSAGEBOX in build environment
1 parent 8d5bf05 commit cd98b66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/video/x11/SDL_x11messagebox.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
#include <X11/keysym.h>
3131
#include <locale.h>
3232

33+
#ifndef SDL_FORK_MESSAGEBOX
3334
#define SDL_FORK_MESSAGEBOX 1
35+
#endif
36+
3437
#define SDL_SET_LOCALE 1
3538

3639
#if SDL_FORK_MESSAGEBOX

0 commit comments

Comments
 (0)