From 9dc67f5e6157c875e9d717523bbdcd82f87d9ce6 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 5 Nov 2011 03:07:36 +0100 Subject: [PATCH] test: don't use _O_RDWR, windows-ism --- test/test-fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-fs.c b/test/test-fs.c index 5d6e11f0..78c9c44a 100644 --- a/test/test-fs.c +++ b/test/test-fs.c @@ -1435,7 +1435,7 @@ TEST_IMPL(fs_file_open_append) { ASSERT(close_req.result != -1); uv_fs_req_cleanup(&close_req); - r = uv_fs_open(loop, &open_req1, "test_file", _O_RDWR | O_APPEND, 0, NULL); + r = uv_fs_open(loop, &open_req1, "test_file", O_RDWR | O_APPEND, 0, NULL); ASSERT(r != -1); ASSERT(open_req1.result != -1); uv_fs_req_cleanup(&open_req1); @@ -1473,4 +1473,4 @@ TEST_IMPL(fs_file_open_append) { unlink("test_file"); return 0; -} \ No newline at end of file +}