Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/CRTinit.c')
-rw-r--r--winsup/mingw/CRTinit.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/winsup/mingw/CRTinit.c b/winsup/mingw/CRTinit.c
new file mode 100644
index 000000000..fa0e7ba1f
--- /dev/null
+++ b/winsup/mingw/CRTinit.c
@@ -0,0 +1,32 @@
+/*
+ * CRTinit.c
+ *
+ * A dummy version of _CRT_INIT for MS compatibility. Programs, or more often
+ * dlls, which use the static version of the MSVC run time are supposed to
+ * call _CRT_INIT to initialize the run time library in DllMain. This does
+ * not appear to be necessary when using crtdll or the dll versions of the
+ * MSVC runtime, so the dummy call simply does nothing.
+ *
+ * Contributors:
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAMED. This includes but is not limited to warrenties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Revision$
+ * $Author$
+ * $Date$
+ *
+ */
+
+void
+_CRT_INIT ()
+{
+}