diff options
author | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2018-07-25 11:18:22 +0000 |
---|---|---|
committer | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2018-07-25 11:18:22 +0000 |
commit | d0840ee3a3addb445dd7d694fed1ae95670068bc (patch) | |
tree | 53d796d56eeedc6911ef1e82cb10895ebba9203f /include | |
parent | 3d6611bff5597ebc3955b591e6b5b9f05536daf2 (diff) | |
download | libapr-d0840ee3a3addb445dd7d694fed1ae95670068bc.tar.gz |
Follow up to r1836616: Provide APR_SIZEOF_OFF_T on Windows/Netware too.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1836619 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/apr.hnw | 5 | ||||
-rw-r--r-- | include/apr.hw | 5 | ||||
-rw-r--r-- | include/apr.hwc | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/include/apr.hnw b/include/apr.hnw index 120201bce..3fda77e25 100644 --- a/include/apr.hnw +++ b/include/apr.hnw @@ -266,6 +266,11 @@ typedef apr_uint64_t apr_ino_t; #else #define APR_SIZEOF_VOIDP 4 #endif +#if APR_HAS_LARGE_FILES +#define APR_SIZEOF_OFF_T 8 +#else +#define APR_SIZEOF_OFF_T 4 +#endif #if APR_SIZEOF_VOIDP == 8 typedef apr_uint64_t apr_uintptr_t; diff --git a/include/apr.hw b/include/apr.hw index 6366ba932..4d74d2f91 100644 --- a/include/apr.hw +++ b/include/apr.hw @@ -404,6 +404,11 @@ typedef apr_uint64_t apr_ino_t; #else #define APR_SIZEOF_VOIDP 4 #endif +#if APR_HAS_LARGE_FILES +#define APR_SIZEOF_OFF_T 8 +#else +#define APR_SIZEOF_OFF_T 4 +#endif #if APR_SIZEOF_VOIDP == 8 typedef apr_uint64_t apr_uintptr_t; diff --git a/include/apr.hwc b/include/apr.hwc index 061a5299c..6f242a0ed 100644 --- a/include/apr.hwc +++ b/include/apr.hwc @@ -404,6 +404,11 @@ typedef apr_uint64_t apr_ino_t; #else #define APR_SIZEOF_VOIDP 4 #endif +#if APR_HAS_LARGE_FILES +#define APR_SIZEOF_OFF_T 8 +#else +#define APR_SIZEOF_OFF_T 4 +#endif #if APR_SIZEOF_VOIDP == 8 typedef apr_uint64_t apr_uintptr_t; |