fix warning about M_PI and MAX_PATH redefinition
This commit is contained in:
parent
ada76ff54a
commit
5ebb6dc463
@ -39,7 +39,7 @@
|
||||
#include "windows.h"
|
||||
#include "keyboard.h"
|
||||
|
||||
#if defined(__VBCC__) || defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.141592653589793238462643
|
||||
#endif
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
#include "sdlscreen.h"
|
||||
#endif
|
||||
|
||||
#if defined(__VBCC__) || defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.141592653589793238462643
|
||||
#endif
|
||||
|
||||
|
||||
@ -786,4 +786,4 @@ void Set_mouse_position(void)
|
||||
#elif defined(USE_SDL2)
|
||||
SDL_WarpMouseInWindow(NULL, Mouse_X*Pixel_width, Mouse_Y*Pixel_height);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
#include "setup.h"
|
||||
#include "global.h"
|
||||
|
||||
#if defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
|
||||
#ifndef PATH_MAX
|
||||
// This is a random default value ...
|
||||
#define PATH_MAX 32768
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user