summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-06-04 23:22:00 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-06-04 23:22:00 +0000
commitc8eda74de9bc17c1ef28e5471b16fad20c7cc876 (patch)
treea6aff06c0c39609b7635f6a2902897595f517cd5 /strings
parentb2a7483838455e94516ce75bea805b569a75c402 (diff)
downloadlibapr-c8eda74de9bc17c1ef28e5471b16fad20c7cc876.tar.gz
Move APR_INT64_STRFN to apr_private.h and remove redundant
APR_HAVE_INT64_STRFN macro. * configure.in: Define APR_HAVE_INT64 macro. * include/apr.h.in, include/apr.hw, include/apr.hnw: Remove APR_INT64_STRFN, APR_HAVE_INT64_STRFN macros. * include/arch/win32/apr_private.h, include/arch/netware/apr_private.h: Define APR_INT64_STRFN (and correctly for Win32, fix from Andr��). * strings/apr_strings.c (apr_strtoi64): Just use APR_INT64_STRFN. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65160 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
-rw-r--r--strings/apr_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/apr_strings.c b/strings/apr_strings.c
index 811599c28..ddf43ba10 100644
--- a/strings/apr_strings.c
+++ b/strings/apr_strings.c
@@ -243,7 +243,7 @@ APR_DECLARE(apr_status_t) apr_strtoff(apr_off_t *offset, const char *nptr,
APR_DECLARE(apr_int64_t) apr_strtoi64(const char *nptr, char **endptr, int base)
{
-#if (APR_HAVE_INT64_STRFN)
+#ifdef APR_INT64_STRFN
return APR_INT64_STRFN(nptr, endptr, base);
#else
const char *s;