mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
(RARCH_CONSOLE) Build fix - move PATH_MAX to miscellaneous.h
This commit is contained in:
parent
8ac21493a1
commit
9ec02f0668
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user