Moved the MACOSX check below the header includes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@823
This commit is contained in:
parent
bf14047e3c
commit
5f45f5ec90
1 changed files with 4 additions and 4 deletions
|
@ -20,10 +20,6 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#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;
|
||||
|
|
Loading…
Add table
Reference in a new issue