diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-04-17 15:50:01 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-04-19 10:24:08 +0200 |
commit | 2414d7d6a197e0c4b184607160d6cd8a378df177 (patch) | |
tree | 4102da331ab3c9f699a6500897fdc8118826045c | |
parent | b77af49b0a921a8695a8b856264df3152a9c3689 (diff) | |
download | glib-2414d7d6a197e0c4b184607160d6cd8a378df177.tar.gz |
Fix build on win32
Some errnos don't exist on win32
-rw-r--r-- | glib/tests/fileutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/tests/fileutils.c b/glib/tests/fileutils.c index bb9a24210..dd05a2463 100644 --- a/glib/tests/fileutils.c +++ b/glib/tests/fileutils.c @@ -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); |