summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-03 10:29:26 +0200
committerStef Walter <stefw@gnome.org>2013-04-03 10:29:58 +0200
commitb7ccd06e1f969a6b86285360234582fe01d3aeaf (patch)
treebdac389750a621a9abefd8f41e0003013a1c275e
parentbd6e31c485cd84746f474a64a63c15a7ea87d650 (diff)
downloadp11-kit-b7ccd06e1f969a6b86285360234582fe01d3aeaf.tar.gz
Fix build on Win32
Don't reference an undefined macro https://bugs.freedesktop.org/show_bug.cgi?id=63046
-rw-r--r--tools/tests/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tests/test.c b/tools/tests/test.c
index 9407817..4ba2162 100644
--- a/tools/tests/test.c
+++ b/tools/tests/test.c
@@ -197,7 +197,7 @@ test_check_directory_msg (CuTest *tc,
closedir (dir);
-#if OS_UNIX
+#ifdef OS_UNIX
CuAssert_Line (tc, file, line, "couldn't chown directory", chmod (directory, S_IRWXU) >= 0);
#endif