2015-10-15 00:19:00 +02:00
|
|
|
/*
|
|
|
|
* Public domain
|
|
|
|
* limits.h compatibility shim
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#include <../include/limits.h>
|
2016-10-31 05:14:03 +01:00
|
|
|
#if _MSC_VER >= 1900
|
|
|
|
#include <../ucrt/stdlib.h>
|
|
|
|
#else
|
|
|
|
#include <../include/stdlib.h>
|
|
|
|
#endif
|
|
|
|
#ifndef PATH_MAX
|
|
|
|
#define PATH_MAX _MAX_PATH
|
|
|
|
#endif
|
2015-10-15 00:19:00 +02:00
|
|
|
#else
|
|
|
|
#include_next <limits.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __hpux
|
|
|
|
#include <sys/param.h>
|
|
|
|
#ifndef PATH_MAX
|
|
|
|
#define PATH_MAX MAXPATHLEN
|
|
|
|
#endif
|
|
|
|
#endif
|