From 5f45f5ec909bd90222eaed3b8e33e4ab3974bb48 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Fri, 28 Mar 2003 00:28:44 +0000 Subject: [PATCH] Moved the MACOSX check below the header includes. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@823 --- src/gui/sdlmain.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 1a17203b..e0c549e2 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -20,10 +20,6 @@ #include #include -#ifdef MACOSX -extern char** environ; -#endif - #include "SDL.h" #include "SDL_thread.h" @@ -40,6 +36,10 @@ extern char** environ; //#define DISABLE_JOYSTICK #define C_GFXTHREADED 1 //Enabled by default +#if defined(MACOSX) +extern char** environ; +#endif + struct SDL_Block { volatile bool active; //If this isn't set don't draw volatile bool drawing;