summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-05-16 03:47:59 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-05-16 03:47:59 +0000
commit26f28b641a4ca494c64e1a8d7f09d8dd7f25bf72 (patch)
tree41155d7807d6b531eb2e4e2628b10fbc9580206f /include
parent8943743c09bb8baaf26dbe8b3910889f926cb2db (diff)
downloadlibapr-26f28b641a4ca494c64e1a8d7f09d8dd7f25bf72.tar.gz
Needed for the filestat.c change in win32. Should help vanilla VC5
builds that need the symbol. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61646 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/arch/win32/fileio.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/arch/win32/fileio.h b/include/arch/win32/fileio.h
index fd10f56c9..de282bc59 100644
--- a/include/arch/win32/fileio.h
+++ b/include/arch/win32/fileio.h
@@ -119,6 +119,9 @@ apr_status_t unicode_to_utf8_path(char* dststr, apr_size_t dstchars,
/* Entries missing from the MSVC 5.0 Win32 SDK:
*/
+#ifndef FILE_ATTRIBUTE_DEVICE
+#define FILE_ATTRIBUTE_DEVICE 0x00000040
+#endif
#ifndef FILE_ATTRIBUTE_REPARSE_POINT
#define FILE_ATTRIBUTE_REPARSE_POINT 0x00000400
#endif
@@ -141,8 +144,8 @@ apr_status_t unicode_to_utf8_path(char* dststr, apr_size_t dstchars,
#define APR_FREADONLY 0x10000000
/* Private function for apr_stat/lstat/getfileinfo/dir_read */
-void fillin_fileinfo(apr_finfo_t *finfo, WIN32_FILE_ATTRIBUTE_DATA *wininfo,
- int byhandle);
+int fillin_fileinfo(apr_finfo_t *finfo, WIN32_FILE_ATTRIBUTE_DATA *wininfo,
+ int byhandle);
/* Private function that extends apr_stat/lstat/getfileinfo/dir_read */
apr_status_t more_finfo(apr_finfo_t *finfo, const void *ufile,