defines for building on Hurd and BSD kernels

This commit is contained in:
Alberto Luaces
2016-05-31 12:58:57 +01:00
committed by Robert Osfield
parent 37258df59c
commit 68baf15806
5 changed files with 14 additions and 4 deletions

View File

@@ -30,6 +30,10 @@
using std::tolower;
#endif
#if defined(__GNU__) && !defined(PATH_MAX)
#define PATH_MAX 4096
#endif
using namespace std;
static const char * const PATH_SEPARATORS = "/\\";