diff options
Diffstat (limited to 'test/raidfile/testraidfile.cpp')
-rwxr-xr-x | test/raidfile/testraidfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/raidfile/testraidfile.cpp b/test/raidfile/testraidfile.cpp index 9803d44d..1e510486 100755 --- a/test/raidfile/testraidfile.cpp +++ b/test/raidfile/testraidfile.cpp @@ -525,7 +525,7 @@ void test_overwrites() writeA.Write("TESTTEST", 8); { -#ifndef PLATFORM_open_USE_fcntl +#if defined(HAVE_FLOCK) || HAVE_DECL_O_EXLOCK RaidFileWrite writeA2(0, "overwrite_A"); TEST_CHECK_THROWS(writeA2.Open(), RaidFileException, FileIsCurrentlyOpenForWriting); #endif |