[glib/fix-module-tests-msvc: 2/3] gio/tests/resourceplugin.c: Ensure entry points are exported



commit 6f2e3bb6a6ee4042366ebea7882de4f6c1752055
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Dec 5 17:50:59 2018 +0800

    gio/tests/resourceplugin.c: Ensure entry points are exported
    
    Ensure that the entry points/symbols are exported on Visual Studio
    builds as well.

 gio/tests/resourceplugin.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gio/tests/resourceplugin.c b/gio/tests/resourceplugin.c
index b66d54142..2a39d07a5 100644
--- a/gio/tests/resourceplugin.c
+++ b/gio/tests/resourceplugin.c
@@ -1,3 +1,6 @@
+#include "modules/symbol-visibility.h"
+#define _GLIB_EXTERN GLIB_TEST_EXPORT_SYMBOL
+
 #include <gio/gio.h>
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]