summaryrefslogtreecommitdiff
path: root/test/cairo-test-private.h
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-05-24 16:19:31 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-06-18 15:39:16 +0100
commitcdd27a8d4cc3486867cff4ce81bb4e064eb74d58 (patch)
tree6f37933d4b12b08c164210851e8b7b8dd424d68a /test/cairo-test-private.h
parent46eb56a99f72b364e3eabe46f9b2995ed0696bd3 (diff)
downloadcairo-cdd27a8d4cc3486867cff4ce81bb4e064eb74d58.tar.gz
[test] Never use gcc __attribute__ magic for constructors.
The configure test for __attribute__((constructor)) succeeds when compiling with Sun Studio 12 on OpenSolaris but the attribute is just ignored and has no actual effect. This causes the test suite to not run any tests at all. With this patch we revert to always using make-cairo-test-constructors.pl.
Diffstat (limited to 'test/cairo-test-private.h')
-rw-r--r--test/cairo-test-private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/cairo-test-private.h b/test/cairo-test-private.h
index 03c7a2bfd..8c841493b 100644
--- a/test/cairo-test-private.h
+++ b/test/cairo-test-private.h
@@ -64,10 +64,8 @@ cairo_test (const cairo_test_t *test);
void
cairo_test_fini (cairo_test_context_t *ctx);
-#if ! CAIRO_HAS_CONSTRUCTOR_ATTRIBUTE
void
_cairo_test_runner_register_tests (void);
-#endif
CAIRO_END_DECLS