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