1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-01 22:57:33 +02:00

Define PATH_MAX when not existing (GNU Hurd support)

This commit is contained in:
Sylvestre Ledru 2017-09-29 11:32:32 +02:00
parent cf77508bc3
commit 5ea13801d0

View File

@ -66,6 +66,14 @@
#include <iostream>
#ifndef PATH_MAX
#ifdef MAXPATHLEN
#define PATH_MAX MAXPATHLEN
#else
#define PATH_MAX 1024
#endif
#endif
using namespace std;
using namespace libfwbuilder;