diff --git a/src/port.h b/src/port.h index 24c70aae72c0d948d0fefd5e86c70eca06028375..bd257002a21d99f97764f274f7c5c43fe589b335 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