Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
fix Issue 15036 - SimpleDllMain assumes various symbols are available…
Browse files Browse the repository at this point in the history
… unqualified
  • Loading branch information
CyberShadow committed Sep 12, 2015
1 parent 9575940 commit 957d83f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/sys/windows/dll.d
Expand Up @@ -478,7 +478,9 @@ public:
extern(Windows)
bool DllMain(HINSTANCE hInstance, uint ulReason, void* reserved)
{
import core.sys.windows.windows;
import core.sys.windows.dll :
dll_process_attach, dll_process_detach,
dll_thread_attach, dll_thread_detach;
switch(ulReason)
{
default: assert(0);
Expand Down

0 comments on commit 957d83f

Please sign in to comment.