(Xbox 1) Set MAX_PATH to theoretical max - 260 - frees up around

20Kb
This commit is contained in:
twinaphex 2012-08-18 12:25:37 +02:00
parent fdbea950f1
commit b839910551
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
#include <time/time.h>
#endif
#if defined(XENON) || defined(__CELLOS_LV2__) || defined(_XBOX1)
#if defined(XENON) || defined(__CELLOS_LV2__)
#undef PATH_MAX
#define PATH_MAX 4096
#endif

View File

@ -46,7 +46,7 @@ typedef int ssize_t;
#define roundf(in) (in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f))
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#define PATH_MAX _MAX_PATH
#endif
#endif