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 "windows.h"
|
||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
|
|
||||||
#if defined(__VBCC__) || defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
|
#ifndef M_PI
|
||||||
#define M_PI 3.141592653589793238462643
|
#define M_PI 3.141592653589793238462643
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -56,7 +56,7 @@
|
|||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__VBCC__) || defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
|
#ifndef M_PI
|
||||||
#define M_PI 3.141592653589793238462643
|
#define M_PI 3.141592653589793238462643
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -54,7 +54,7 @@
|
|||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
|
||||||
#if defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
|
#ifndef PATH_MAX
|
||||||
// This is a random default value ...
|
// This is a random default value ...
|
||||||
#define PATH_MAX 32768
|
#define PATH_MAX 32768
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user