(RARCH_CONSOLE) Build fix - move PATH_MAX to miscellaneous.h

This commit is contained in:
twinaphex 2013-11-06 22:01:02 +01:00
parent 8ac21493a1
commit 9ec02f0668
2 changed files with 8 additions and 8 deletions

View File

@ -76,14 +76,6 @@
#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
#include "netplay.h"
#endif

View File

@ -32,6 +32,14 @@
#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
#define max(a, b) ((a) > (b) ? (a) : (b))
#endif