summaryrefslogtreecommitdiff
path: root/file_io/win32/open.c
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-10-14 20:05:58 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-10-14 20:05:58 +0000
commitcfa2cc7e2ad692c0d5a927508a0646d7cfc42875 (patch)
treedb744b65b869ea0d7ee93b34886d99c8fc943b17 /file_io/win32/open.c
parente54fc717b0f544a5fe0d21d4e4cf03c6f6f15a10 (diff)
downloadlibapr-cfa2cc7e2ad692c0d5a927508a0646d7cfc42875.tar.gz
I really disliked this identifier, found a better one.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63926 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/win32/open.c')
-rw-r--r--file_io/win32/open.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file_io/win32/open.c b/file_io/win32/open.c
index 9f001cd7a..9a27e19bd 100644
--- a/file_io/win32/open.c
+++ b/file_io/win32/open.c
@@ -344,7 +344,7 @@ APR_DECLARE(apr_status_t) apr_file_open(apr_file_t **new, const char *fname,
{
apr_wchar_t wfname[APR_PATH_MAX];
- if (flag & APR_OPEN_FOR_SENDFILE) {
+ if (flag & APR_SENDFILE_ENABLED) {
/* This feature is required to enable sendfile operations
* against the file on Win32. Also implies APR_XTHREAD.
*/
@@ -363,10 +363,10 @@ APR_DECLARE(apr_status_t) apr_file_open(apr_file_t **new, const char *fname,
ELSE_WIN_OS_IS_ANSI {
handle = CreateFileA(fname, oflags, sharemode,
NULL, createflags, attributes, 0);
- if (flag & APR_OPEN_FOR_SENDFILE) {
+ if (flag & APR_SENDFILE_ENABLED) {
/* This feature is not supported on this platform.
*/
- flag &= ~APR_OPEN_FOR_SENDFILE;
+ flag &= ~APR_SENDFILE_ENABLED;
}
}