1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 04:32:19 +02:00

include limits.h if available

This commit is contained in:
Zeev Suraski
2001-04-28 20:21:42 +00:00
parent b87bac782f
commit 4e71bbed0a
4 changed files with 4 additions and 6 deletions

View File

@@ -140,6 +140,10 @@ typedef unsigned int zend_uint;
typedef unsigned long zend_ulong;
typedef unsigned short zend_ushort;
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#ifndef LONG_MAX
#define LONG_MAX 2147483647L
#endif

View File

@@ -26,10 +26,6 @@
# include <stdlib.h>
#endif
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#define HANDLE_NUMERIC(key, length, func) { \
register char *tmp=key; \
\

View File

@@ -39,7 +39,6 @@
#endif
#include <errno.h>
#include <limits.h>
#include "zend.h"
#include "zend_alloc.h"
#include "zend_language_parser.h"

View File

@@ -21,7 +21,6 @@
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <limits.h>
#include <ctype.h>
#include <math.h>