Get PATH_MAX from limits.h

Up to this point we have assumed that iostream.h gets us PATH_MAX or something.
Really, I dunno, but the assumption was broken...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1108 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-06-28 06:23:21 +00:00
parent b2512e55ea
commit fb0ccc3cf0
+1
View File
@@ -62,6 +62,7 @@ using std::cout;
using std::cerr;
using std::endl;
#include <limits.h>
#ifndef PATH_MAX
#define PATH_MAX 1024
#warning PATH_MAX is undefined