From: aliaspider Date: Thu, 2 Mar 2017 11:10:30 +0000 (+0100) Subject: define PATH_MAX if needed. X-Git-Tag: r24l~800 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9096ba886c2c72055d93b7cf9f8f76a2c721c0bd;p=pcsx_rearmed.git define PATH_MAX if needed. --- diff --git a/frontend/libretro.c b/frontend/libretro.c index 87dcb2dd..4d56356a 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -932,6 +932,10 @@ static struct retro_disk_control_callback disk_control = { #define SLASH '/' #endif +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + static char base_dir[PATH_MAX]; static bool read_m3u(const char *file)