Fix PATH_MAX define

This commit is contained in:
Magnus Norddahl 2024-03-01 12:01:43 +01:00
parent 3b23f4efd5
commit 6191412720

View file

@ -10,6 +10,9 @@
#include <sys/stat.h>
#include <unistd.h>
#include <libgen.h>
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif
#endif
#ifdef WIN32