X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro.c;h=4d56356a9dbb05974ff1e6397171fa4834f31376;hb=9096ba886c2c72055d93b7cf9f8f76a2c721c0bd;hp=87dcb2ddcb572da89521d1f6b665bc062e766fdf;hpb=751c8c2459ce58b5f8f4c50597e41404ea05ae0e;p=pcsx_rearmed.git 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)