From a87200ca762e968f5db0a20538d14866a2732dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 29 May 1998 22:40:33 +0200 Subject: [PATCH] STRTOL() now looks at HAVE_WORKING_STRTOL. Rev: src/port.h:1.19 --- src/port.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/port.h b/src/port.h index 24c70aae72..bd257002a2 100644 --- a/src/port.h +++ b/src/port.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: port.h,v 1.18 1998/03/28 15:03:11 grubba Exp $ + * $Id: port.h,v 1.19 1998/05/29 20:40:33 grubba Exp $ */ #ifndef PORT_H #define PORT_H @@ -38,10 +38,10 @@ time_t TIME(time_t *); # define TIME time #endif -#ifndef HAVE_STRTOL -long STRTOL(char *str,char **ptr,int base); -#else +#if defined(HAVE_STRTOL) && defined(HAVE_WORKING_STRTOL) # define STRTOL strtol +#else +long STRTOL(char *str,char **ptr,int base); #endif #ifndef HAVE_STRTOD -- GitLab