aboutsummaryrefslogtreecommitdiff
path: root/lib/roken/strtoll.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-01-06 20:48:22 +0000
committerCy Schubert <cy@FreeBSD.org>2023-01-06 20:48:22 +0000
commit6f4e10db3298f6d65e1e646fe52aaafc3682b788 (patch)
tree0a8de0ec1173c00886bcde1c3b18e0963e5f2b83 /lib/roken/strtoll.c
parentd5d1e8b157da7410fe13e6302f8e1bee81320bb5 (diff)
Diffstat (limited to 'lib/roken/strtoll.c')
-rw-r--r--lib/roken/strtoll.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/roken/strtoll.c b/lib/roken/strtoll.c
index 1be8761313a3..2e038bf30d6c 100644
--- a/lib/roken/strtoll.c
+++ b/lib/roken/strtoll.c
@@ -38,6 +38,8 @@
#include "roken.h"
+#ifndef HAVE_STRTOLL
+
/* #include <sys/cdefs.h> */
#include <limits.h>
@@ -146,4 +148,4 @@ noconv:
*endptr = (char *)(any ? s - 1 : nptr);
return (acc);
}
-
+#endif /* !HAVE_STRTOLL */