summaryrefslogtreecommitdiff
path: root/include/apr.hnw
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2018-07-25 11:18:22 +0000
committerYann Ylavic <ylavic@apache.org>2018-07-25 11:18:22 +0000
commitb3d946e825badac0a411fb5a5c92b6e30fd410a7 (patch)
tree53d796d56eeedc6911ef1e82cb10895ebba9203f /include/apr.hnw
parent73fb267151d5f124e1ab931aee9f9e5d1d15be87 (diff)
downloadapr-b3d946e825badac0a411fb5a5c92b6e30fd410a7.tar.gz
Follow up to r1836616: Provide APR_SIZEOF_OFF_T on Windows/Netware too.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1836619 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr.hnw')
-rw-r--r--include/apr.hnw5
1 files changed, 5 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;