(RARCH_CONSOLE) Build fix - move PATH_MAX to miscellaneous.h
This commit is contained in:
parent
8ac21493a1
commit
9ec02f0668
|
@ -76,14 +76,6 @@
|
||||||
#endif
|
#endif
|
||||||
//////////////
|
//////////////
|
||||||
|
|
||||||
// Some platforms do not set this value.
|
|
||||||
// Just assume a value. It's usually 4KiB.
|
|
||||||
// Platforms with a known value (like Win32)
|
|
||||||
// set this value explicitly in platform specific headers.
|
|
||||||
#ifndef PATH_MAX
|
|
||||||
#define PATH_MAX 4096
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_NETPLAY
|
#ifdef HAVE_NETPLAY
|
||||||
#include "netplay.h"
|
#include "netplay.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -32,6 +32,14 @@
|
||||||
|
|
||||||
#include "retroarch_logger.h"
|
#include "retroarch_logger.h"
|
||||||
|
|
||||||
|
// Some platforms do not set this value.
|
||||||
|
// Just assume a value. It's usually 4KiB.
|
||||||
|
// Platforms with a known value (like Win32)
|
||||||
|
// set this value explicitly in platform specific headers.
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
#define PATH_MAX 4096
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef max
|
#ifndef max
|
||||||
#define max(a, b) ((a) > (b) ? (a) : (b))
|
#define max(a, b) ((a) > (b) ? (a) : (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue