diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-15 11:53:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-15 11:53:04 +0000 |
commit | d62febcf8fe60caefce741c7b531bfeda4eb0ec3 (patch) | |
tree | fecf3f234bf5043fe21d716603ce1ee219012607 /include/inspircd.h | |
parent | 46235defb1b414497a6bf44f2af1127e02ab4ff8 (diff) |
Define PATH_MAX if its not already defined
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9907 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 7a06f299c..13a94331a 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -31,6 +31,10 @@ #define CUSTOM_PRINTF(STRING, FIRST) #endif +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + // Required system headers. #include <ctime> #include <cstdarg> |