void* address;
} lt_symlist_t;
+
+#if defined(GVDLL) && !defined(ENABLE_LTDL)
+ extern lt_symlist_t lt_preloaded_symbols[];
+#else
extern const lt_symlist_t lt_preloaded_symbols[];
+#endif
#ifdef __cplusplus
}
const lt_symlist_t *s;
const char *name;
+/* For Windows DLLs using builtins, we need to initialize
+ * the lt_preloaded_symbols table.
+ */
+#if defined(GVDLL) && !defined(ENABLE_LTDL)
+ init_lt_preloaded_symbols();
+#endif
s = lt_preloaded_symbols;
for (s = lt_preloaded_symbols; (name = s->name); s++)
if (name[0] == 'g' && strstr(name, "_LTX_library"))