summaryrefslogtreecommitdiff
path: root/gmodule/libgplugin_a.c
diff options
context:
space:
mode:
Diffstat (limited to 'gmodule/libgplugin_a.c')
-rw-r--r--gmodule/libgplugin_a.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gmodule/libgplugin_a.c b/gmodule/libgplugin_a.c
index 1ed32b324..99e9e41fe 100644
--- a/gmodule/libgplugin_a.c
+++ b/gmodule/libgplugin_a.c
@@ -17,6 +17,17 @@
* Boston, MA 02111-1307, USA.
*/
#include <gmodule.h>
+#include <stdlib.h>
+
+#if defined (NATIVE_WIN32) && defined (__LCC__)
+int __stdcall
+LibMain(void *hinstDll,
+ unsigned long dwReason,
+ void *reserved)
+{
+ return 1;
+}
+#endif /* NATIVE_WIN32 && __LCC__ */
G_MODULE_EXPORT void
gplugin_a_func (void)