Commit 274940b2 authored by Kalev Lember's avatar Kalev Lember

tests/fileutils: Fix Windows build

parent c88c1639
......@@ -541,7 +541,9 @@ test_file_errors (void)
g_assert (g_file_error_from_errno (ENXIO) == G_FILE_ERROR_NXIO);
g_assert (g_file_error_from_errno (ENODEV) == G_FILE_ERROR_NODEV);
g_assert (g_file_error_from_errno (EROFS) == G_FILE_ERROR_ROFS);
#ifdef ETXTBSY
g_assert (g_file_error_from_errno (ETXTBSY) == G_FILE_ERROR_TXTBSY);
#endif
g_assert (g_file_error_from_errno (EFAULT) == G_FILE_ERROR_FAULT);
g_assert (g_file_error_from_errno (ELOOP) == G_FILE_ERROR_LOOP);
g_assert (g_file_error_from_errno (ENOSPC) == G_FILE_ERROR_NOSPC);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment