From b87703fd2eee270cc9bc9c92a33993bbc3007131 Mon Sep 17 00:00:00 2001 From: Jim Kowalkowski Date: Wed, 11 May 1994 10:33:18 +0000 Subject: [PATCH] always compiles strtoul() for unix --- src/libCom/cvtFast.c | 4 ++-- src/libCom/cvtFast/cvtFast.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libCom/cvtFast.c b/src/libCom/cvtFast.c index 8d74ba327..a3c26db81 100644 --- a/src/libCom/cvtFast.c +++ b/src/libCom/cvtFast.c @@ -609,7 +609,7 @@ unsigned bitFieldLength) } /* needed if not standard C */ -#ifndef __STDC__ +#ifndef vxWorks /* * * strtoul @@ -708,4 +708,4 @@ strtoul(s, ptr, base) *ptr = (char *) ((did_conversion) ? (char *)s : (char *)start); return negate ? -total : total; } -#endif /* __STDC__ */ +#endif /* vxWorks */ diff --git a/src/libCom/cvtFast/cvtFast.c b/src/libCom/cvtFast/cvtFast.c index 8d74ba327..a3c26db81 100644 --- a/src/libCom/cvtFast/cvtFast.c +++ b/src/libCom/cvtFast/cvtFast.c @@ -609,7 +609,7 @@ unsigned bitFieldLength) } /* needed if not standard C */ -#ifndef __STDC__ +#ifndef vxWorks /* * * strtoul @@ -708,4 +708,4 @@ strtoul(s, ptr, base) *ptr = (char *) ((did_conversion) ? (char *)s : (char *)start); return negate ? -total : total; } -#endif /* __STDC__ */ +#endif /* vxWorks */