]> granicus.if.org Git - p11-kit/commitdiff
test-compat calls test_getauxval which is in a UNIX defined block
authorMichael Cronenworth <mike@cchtml.com>
Tue, 30 Jul 2013 04:59:00 +0000 (04:59 +0000)
committerStef Walter <stef@thewalter.net>
Tue, 30 Jul 2013 07:46:40 +0000 (09:46 +0200)
MinGW builds fail due to this.

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

common/tests/test-compat.c

index fe312f8ea6979a5888d61215f942c3286db18ce4..c73c034e987ef6d5390bad6718a95b3a14edd048 100644 (file)
@@ -90,6 +90,8 @@ main (int argc,
       char *argv[])
 {
        p11_test (test_strndup, "/compat/strndup");
+#ifdef OS_UNIX
        p11_test (test_getauxval, "/compat/getauxval");
+#endif
        return p11_test_run (argc, argv);
 }