inserted additional note to look for ChangeLog and AUTHORS file for a log
[platform/upstream/glib.git] / gmodule / libgplugin_a.c
index 3129978..91b928d 100644 (file)
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+
+/*
+ * Modified by the GLib Team and others 1997-1999.  See the AUTHORS
+ * file for a list of people on the GLib Team.  See the ChangeLog
+ * files for a list of changes.  These files are distributed with
+ * GLib at ftp://ftp.gtk.org/pub/gtk/. 
+ */
+
 #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)
@@ -42,7 +61,7 @@ gplugin_say_boo_func (void)
   g_print ("GPluginA: BOOH!\n");
 }
 
-void
+G_MODULE_EXPORT void
 gplugin_a_module_func (GModule *module)
 {
   void(*f)(void) = NULL;