1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-03 01:21:16 +03:00

defining PATH_MAX if not defined

This commit is contained in:
Sergey Lyubka
2012-09-22 15:49:58 +01:00
parent 1e632d3215
commit d2be594262

View File

@@ -266,6 +266,10 @@ typedef int socklen_t;
#define SOMAXCONN 100
#endif
#if !defined(PATH_MAX)
#define PATH_MAX 4096
#endif
static const char *http_500_error = "Internal Server Error";
// Snatched from OpenSSL includes. I put the prototypes here to be independent