summaryrefslogtreecommitdiffhomepage
path: root/windows/nsis-plugins/src/string/dllmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'windows/nsis-plugins/src/string/dllmain.cpp')
-rw-r--r--windows/nsis-plugins/src/string/dllmain.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/windows/nsis-plugins/src/string/dllmain.cpp b/windows/nsis-plugins/src/string/dllmain.cpp
new file mode 100644
index 0000000000..a5a44613dd
--- /dev/null
+++ b/windows/nsis-plugins/src/string/dllmain.cpp
@@ -0,0 +1,11 @@
+#include "stdafx.h"
+#include <windows.h>
+
+BOOL APIENTRY DllMain(HMODULE, DWORD reason, LPVOID)
+{
+ //
+ // Avoid doing work in DllMain since the loader lock is held
+ //
+
+ return TRUE;
+}