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

Commit

Permalink
Merge pull request #3571 from maxsamukha/winbool
Browse files Browse the repository at this point in the history
Fix issue 22328: Specific D types are used instead of Windows type aliases
  • Loading branch information
CyberShadow authored Sep 24, 2021
2 parents 7532b00 + e0b9c6d commit 9012401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/sys/windows/dll.d
Original file line number Diff line number Diff line change
Expand Up @@ -556,10 +556,10 @@ bool dll_thread_detach( bool detach_thread = true, bool exitTls = true )
/// ---
mixin template SimpleDllMain()
{
import core.sys.windows.windef : HINSTANCE;
import core.sys.windows.windef : HINSTANCE, BOOL, DWORD, LPVOID;

extern(Windows)
bool DllMain(HINSTANCE hInstance, uint ulReason, void* reserved)
BOOL DllMain(HINSTANCE hInstance, DWORD ulReason, LPVOID reserved)
{
import core.sys.windows.winnt;
import core.sys.windows.dll :
Expand Down

0 comments on commit 9012401

Please sign in to comment.