mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 20:43:10 +00:00
Make sure PATH_MAX is defined.
This commit is contained in:
parent
aae7bf60e2
commit
a33c7a7d61
28
general.h
28
general.h
@ -45,11 +45,18 @@
|
|||||||
#include "android/native/jni/android_general.h"
|
#include "android/native/jni/android_general.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FIXME - If PATH_MAX is not defined, can we instead define
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
* it here? Could get rid of this long if conditional here
|
#define WIN32_LEAN_AND_MEAN
|
||||||
* which is a maintenance hazard */
|
#include <windows.h>
|
||||||
#if defined(XENON) || defined(__CELLOS_LV2__) || defined(PSP)
|
#elif defined(_XBOX)
|
||||||
#undef PATH_MAX
|
#include <xtl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_WIN32)
|
||||||
|
#include "msvc/msvc_compat.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef PATH_MAX
|
||||||
#define PATH_MAX 4096
|
#define PATH_MAX 4096
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -67,17 +74,6 @@
|
|||||||
|
|
||||||
#include "audio/resampler.h"
|
#include "audio/resampler.h"
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(_XBOX)
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
|
||||||
#include <windows.h>
|
|
||||||
#elif defined(_XBOX)
|
|
||||||
#include <xtl.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
|
||||||
#include "msvc/msvc_compat.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAX_PLAYERS 8
|
#define MAX_PLAYERS 8
|
||||||
|
|
||||||
// All config related settings go here.
|
// All config related settings go here.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user