#ifdef new symbol

Original commit message from CVS:
#ifdef new symbol
This commit is contained in:
Thomas Vander Stichele 2004-04-23 09:21:24 +00:00
parent 6eb8a092a4
commit c00b874061
2 changed files with 8 additions and 2 deletions

View file

@ -10,7 +10,10 @@ main (int argc, char *argv[])
gboolean ret;
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);
ret = g_module_symbol (module, "gst_init", (gpointer *) & symbol);

View file

@ -10,7 +10,10 @@ main (int argc, char *argv[])
gboolean ret;
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);
ret = g_module_symbol (module, "gst_init", (gpointer *) & symbol);