summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-10-24 04:40:33 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-10-24 04:40:33 +0000
commitbc680f26879815c71eae3e752dea63865576a16e (patch)
tree6bfdadb476d537f40ed807137b451fe03571211d /include
parent704ed0016581db15d46d3726ca4eb3898317fd13 (diff)
downloadapr-bc680f26879815c71eae3e752dea63865576a16e.tar.gz
Define apr_ino_t in such a way that it doesn't change definition
based on the library consumer's -D'efines to the filesystem. Submitted by: Lucian Adrian Grijincu <lucian.grijincu gmail.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@587779 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr.h.in1
-rw-r--r--include/apr.hnw1
-rw-r--r--include/apr.hw1
-rw-r--r--include/apr_file_info.h6
4 files changed, 3 insertions, 6 deletions
diff --git a/include/apr.h.in b/include/apr.h.in
index 36b6f72f3..4fe958f96 100644
--- a/include/apr.h.in
+++ b/include/apr.h.in
@@ -283,6 +283,7 @@ typedef @size_t_value@ apr_size_t;
typedef @ssize_t_value@ apr_ssize_t;
typedef @off_t_value@ apr_off_t;
typedef @socklen_t_value@ apr_socklen_t;
+typedef @ino_t_value@ apr_ino_t;
#define APR_SIZEOF_VOIDP @voidp_size@
diff --git a/include/apr.hnw b/include/apr.hnw
index c793846ec..743da45df 100644
--- a/include/apr.hnw
+++ b/include/apr.hnw
@@ -255,6 +255,7 @@ typedef int apr_socklen_t;
#else
typedef size_t apr_socklen_t;
#endif
+typedef apr_uint64_t apr_ino_t;
/* Are we big endian? */
/* XXX: Fatal assumption on Alpha platforms */
diff --git a/include/apr.hw b/include/apr.hw
index 03434f6bf..de46bfa04 100644
--- a/include/apr.hw
+++ b/include/apr.hw
@@ -345,6 +345,7 @@ typedef __int64 apr_off_t;
typedef int apr_off_t;
#endif
typedef int apr_socklen_t;
+typedef apr_uint64_t apr_ino_t;
/* Are we big endian? */
/* XXX: Fatal assumption on Alpha platforms */
diff --git a/include/apr_file_info.h b/include/apr_file_info.h
index 135226bce..bbcff8ac0 100644
--- a/include/apr_file_info.h
+++ b/include/apr_file_info.h
@@ -125,16 +125,10 @@ typedef struct apr_dir_t apr_dir_t;
typedef apr_int32_t apr_fileperms_t;
#if (defined WIN32) || (defined NETWARE)
/**
- * Structure for determining the inode of the file.
- */
-typedef apr_uint64_t apr_ino_t;
-/**
* Structure for determining the device the file is on.
*/
typedef apr_uint32_t apr_dev_t;
#else
-/** The inode of the file. */
-typedef ino_t apr_ino_t;
/**
* Structure for determining the device the file is on.
*/