diff --git a/general.h b/general.h index 14268b3624..b8f17c0b3f 100644 --- a/general.h +++ b/general.h @@ -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 diff --git a/miscellaneous.h b/miscellaneous.h index fcf73111f0..351a997526 100644 --- a/miscellaneous.h +++ b/miscellaneous.h @@ -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