mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-02 15:17:28 +02:00
Merge pull request #37 from sylvestre/master
Define PATH_MAX when not existing (GNU Hurd support)
This commit is contained in:
commit
33d39ee6ee
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user