mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
#ifdef new symbol
Original commit message from CVS: #ifdef new symbol
This commit is contained in:
parent
6eb8a092a4
commit
c00b874061
2 changed files with 8 additions and 2 deletions
|
@ -10,7 +10,10 @@ main (int argc, char *argv[])
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
module = g_module_open (".libs/libloadgst.so",
|
module = g_module_open (".libs/libloadgst.so",
|
||||||
G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
|
#ifdef HAVE_G_MODULE_BIND_LOCAL
|
||||||
|
G_MODULE_BIND_LOCAL |
|
||||||
|
#endif
|
||||||
|
G_MODULE_BIND_LAZY);
|
||||||
g_assert (module != NULL);
|
g_assert (module != NULL);
|
||||||
|
|
||||||
ret = g_module_symbol (module, "gst_init", (gpointer *) & symbol);
|
ret = g_module_symbol (module, "gst_init", (gpointer *) & symbol);
|
||||||
|
|
|
@ -10,7 +10,10 @@ main (int argc, char *argv[])
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
module = g_module_open (".libs/libloadgst.so",
|
module = g_module_open (".libs/libloadgst.so",
|
||||||
G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
|
#ifdef HAVE_G_MODULE_BIND_LOCAL
|
||||||
|
G_MODULE_BIND_LOCAL |
|
||||||
|
#endif
|
||||||
|
G_MODULE_BIND_LAZY);
|
||||||
g_assert (module != NULL);
|
g_assert (module != NULL);
|
||||||
|
|
||||||
ret = g_module_symbol (module, "gst_init", (gpointer *) & symbol);
|
ret = g_module_symbol (module, "gst_init", (gpointer *) & symbol);
|
||||||
|
|
Loading…
Reference in a new issue