summaryrefslogtreecommitdiff
path: root/common/tests
diff options
context:
space:
mode:
authorMichael Cronenworth <mike@cchtml.com>2013-07-30 04:59:00 +0000
committerStef Walter <stef@thewalter.net>2013-07-30 09:46:40 +0200
commit4b1d38759c8cdc85b9ab9ce3a8a24a0dc28f2aa6 (patch)
tree76e96c6d0ddd6e80478a7890b8e74b1d58f9cb7e /common/tests
parentcdb1a88ba117d92991298445e5db51b6e1f5ce3c (diff)
test-compat calls test_getauxval which is in a UNIX defined block
MinGW builds fail due to this. https://bugs.freedesktop.org/show_bug.cgi?id=67518
Diffstat (limited to 'common/tests')
-rw-r--r--common/tests/test-compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/tests/test-compat.c b/common/tests/test-compat.c
index fe312f8..c73c034 100644
--- a/common/tests/test-compat.c
+++ b/common/tests/test-compat.c
@@ -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);
}