From d23a421a492f0467ab45fb83f297186b0897c0ff Mon Sep 17 00:00:00 2001 From: Dave Vasilevsky Date: Wed, 27 Mar 2013 03:38:59 -0400 Subject: [PATCH] Work even if TRUE is undefined --- SheepShaver/src/Unix/main_unix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index 48c9cff1..aa23fc86 100644 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -681,10 +681,10 @@ static bool init_sdl() #ifdef USE_SDL_VIDEO // Don't let SDL block the screensaver - setenv("SDL_VIDEO_ALLOW_SCREENSAVER", "1", TRUE); + setenv("SDL_VIDEO_ALLOW_SCREENSAVER", "1", true); // Make SDL pass through command-clicks and option-clicks unaltered - setenv("SDL_HAS3BUTTONMOUSE", "1", TRUE); + setenv("SDL_HAS3BUTTONMOUSE", "1", true); #endif if (SDL_Init(sdl_flags) == -1) {