diff options
author | stoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68> | 2001-05-16 18:11:51 +0000 |
---|---|---|
committer | stoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68> | 2001-05-16 18:11:51 +0000 |
commit | c6412158a79b8cdf2c6cb5cfcb2a3b61acb085b3 (patch) | |
tree | 67e032c58828ccbd70c526518ccfeb86b3271222 /include | |
parent | 151b0bca353a4dbe0d0f43677c3b524f5cc159cc (diff) | |
download | libapr-c6412158a79b8cdf2c6cb5cfcb2a3b61acb085b3.tar.gz |
Make the other child struct a bit more portable wrt to the file
descriptor.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/arch/unix/misc.h | 3 | ||||
-rw-r--r-- | include/arch/win32/misc.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/arch/unix/misc.h b/include/arch/unix/misc.h index 696943772..8b79f03af 100644 --- a/include/arch/unix/misc.h +++ b/include/arch/unix/misc.h @@ -56,6 +56,7 @@ #define MISC_H #include "apr.h" +#include "apr_portable.h" #include "apr_private.h" #include "apr_general.h" #include "apr_pools.h" @@ -92,7 +93,7 @@ struct apr_other_child_rec_t { int id; /* This is either a pid or tid depending on the platform */ void (*maintenance) (int, void *, int); void *data; - int write_fd; + apr_os_file_t write_fd; }; #ifdef WIN32 diff --git a/include/arch/win32/misc.h b/include/arch/win32/misc.h index 696943772..8b79f03af 100644 --- a/include/arch/win32/misc.h +++ b/include/arch/win32/misc.h @@ -56,6 +56,7 @@ #define MISC_H #include "apr.h" +#include "apr_portable.h" #include "apr_private.h" #include "apr_general.h" #include "apr_pools.h" @@ -92,7 +93,7 @@ struct apr_other_child_rec_t { int id; /* This is either a pid or tid depending on the platform */ void (*maintenance) (int, void *, int); void *data; - int write_fd; + apr_os_file_t write_fd; }; #ifdef WIN32 |