OSDN Git Service

Enable to track git://github.com/monaka/binutils.git
[pf3gnuchains/pf3gnuchains3x.git] / winsup / mingw / dllmain.c
diff --git a/winsup/mingw/dllmain.c b/winsup/mingw/dllmain.c
new file mode 100644 (file)
index 0000000..3036823
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * dllmain.c
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is a part of the mingw-runtime package.
+ * No warranty is given; refer to the file DISCLAIMER within the package.
+ *
+ * A stub DllMain function which will be called by DLLs which do not
+ * have a user supplied DllMain.
+ *
+ */
+
+#include <windows.h>
+
+BOOL WINAPI 
+DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
+{
+  return TRUE;
+}
+