diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2008-05-02 18:29:48 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2008-05-02 18:29:48 +0000 |
commit | 9284c8cfbf70e45dfd6d10a65f6b6be1d48ebb6b (patch) | |
tree | 3dcf43a04875c4fee85447d6ad01f640eca6364b /include/apr.hw | |
parent | 529fb5b56238f8930968345b52cba8838cc99b54 (diff) | |
download | libapr-9284c8cfbf70e45dfd6d10a65f6b6be1d48ebb6b.tar.gz |
Leverage the new apr_uintptr_t type for our ULONG_PTR members.
PR: 44327
Submitted by: Curt Arnold <carnold apache.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@652866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr.hw')
-rw-r--r-- | include/apr.hw | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/apr.hw b/include/apr.hw index c1e2e51ee..4aeca41be 100644 --- a/include/apr.hw +++ b/include/apr.hw @@ -358,6 +358,13 @@ typedef apr_uint64_t apr_ino_t; #define APR_SIZEOF_VOIDP 4 #endif +#if APR_SIZEOF_VOIDP == 8 +typedef apr_uint64_t apr_uintptr_t; +#else +typedef apr_uint32_t apr_uintptr_t; +#endif + + /* XXX These simply don't belong here, perhaps in apr_portable.h * based on some APR_HAVE_PID/GID/UID? */ |