Commit 2414d7d6 authored by Alexander Larsson's avatar Alexander Larsson

Fix build on win32

Some errnos don't exist on win32
parent b77af49b
......@@ -545,7 +545,9 @@ test_file_errors (void)
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);
#ifdef ELOOP
g_assert (g_file_error_from_errno (ELOOP) == G_FILE_ERROR_LOOP);
#endif
g_assert (g_file_error_from_errno (ENOSPC) == G_FILE_ERROR_NOSPC);
g_assert (g_file_error_from_errno (ENOMEM) == G_FILE_ERROR_NOMEM);
g_assert (g_file_error_from_errno (EMFILE) == G_FILE_ERROR_MFILE);
......
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