fix warning about M_PI and MAX_PATH redefinition

This commit is contained in:
Thomas Bernard 2019-02-09 16:12:53 +01:00
parent ada76ff54a
commit 5ebb6dc463
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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