From 68af572ba435236d1423f52a06475ea46b977446 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 1 Apr 2019 12:06:25 +0800 Subject: test/reftests: Fix build on Visual Studio As we are building the gtkreftestprivate and reftest test libraries as DLLs, we need to export the symbols in there so that things will link. Decorate the symbols with G_MODULE_EXPORT for this purpose. --- testsuite/reftests/reftest-snapshot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/reftests/reftest-snapshot.c') diff --git a/testsuite/reftests/reftest-snapshot.c b/testsuite/reftests/reftest-snapshot.c index 7fb467b8ae..231ff722e2 100644 --- a/testsuite/reftests/reftest-snapshot.c +++ b/testsuite/reftests/reftest-snapshot.c @@ -64,13 +64,13 @@ quit_when_idle (gpointer loop) static gint inhibit_count; static GMainLoop *loop; -void +G_MODULE_EXPORT void reftest_inhibit_snapshot (void) { inhibit_count++; } -void +G_MODULE_EXPORT void reftest_uninhibit_snapshot (void) { g_assert (inhibit_count > 0); -- cgit v1.2.1