]> granicus.if.org Git - p11-kit/commitdiff
Fix build on Win32
authorStef Walter <stefw@gnome.org>
Wed, 3 Apr 2013 08:29:26 +0000 (10:29 +0200)
committerStef Walter <stefw@gnome.org>
Wed, 3 Apr 2013 08:29:58 +0000 (10:29 +0200)
Don't reference an undefined macro

https://bugs.freedesktop.org/show_bug.cgi?id=63046

tools/tests/test.c

index 94078178ec5f23e52938b00951cd368fbd6fe015..4ba21622677ffe6954040e5bbb25cfe48072cc0f 100644 (file)
@@ -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