Skip to content

Commit

Permalink
Fix PATH_MAX define
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Mar 1, 2024
1 parent 3b23f4e commit 6191412
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/framework/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6191412

Please sign in to comment.