Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 54449 invoked by uid 500); 18 Jun 2002 02:07:02 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 54437 invoked by uid 500); 18 Jun 2002 02:07:02 -0000 Delivered-To: apmail-apache-1.3-cvs@apache.org Date: 18 Jun 2002 02:07:00 -0000 Message-ID: <20020618020700.97453.qmail@icarus.apache.org> From: jim@apache.org To: apache-1.3-cvs@apache.org Subject: cvs commit: apache-1.3/src/ap ap_strtol.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jim 2002/06/17 19:07:00 Modified: src/ap ap_strtol.c Log: Just in case, handle LONG_* if limits doesn't have 'em Revision Changes Path 1.4 +6 -0 apache-1.3/src/ap/ap_strtol.c Index: ap_strtol.c =================================================================== RCS file: /home/cvs/apache-1.3/src/ap/ap_strtol.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ap_strtol.c 18 Jun 2002 01:19:46 -0000 1.3 +++ ap_strtol.c 18 Jun 2002 02:07:00 -0000 1.4 @@ -94,6 +94,12 @@ #include #include "ap_ctype.h" +#ifndef LONG_MAX +#define LONG_MAX 2147483647 +#endif +#ifndef LONG_MIN +#define LONG_MIN (-2147483647-1) +#endif /* * Convert a string to a long integer.