Index: src/OFSystemInfo.m ================================================================== --- src/OFSystemInfo.m +++ src/OFSystemInfo.m @@ -68,10 +68,14 @@ # include #endif #ifdef OF_QNX # include #endif + +#if !defined(PATH_MAX) && defined(MAX_PATH) +# define PATH_MAX MAX_PATH +#endif #if defined(OF_MACOS) || defined(OF_IOS) /* * These have been dropped from newer iOS SDKs, however, their replacements are * not available on iOS < 10. This means it's impossible to search for the