Skip to content

Commit d7b49cd

Browse files
committed
Adjust call convention for GetLastError import
Change-Id: Idfd201a8b5f9fe2018b9a3249f5c9444f9b9ef9e
1 parent 1e1ccf0 commit d7b49cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/win32/gnatcoll-os-win32.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ package GNATCOLL.OS.Win32 is
110110

111111
function GetLastError return DWORD
112112
with Import => True,
113-
Convention => C,
113+
Convention => Stdcall,
114114
External_Name => "GetLastError";
115115

116116
Win32_Epoch_Offset : constant LARGE_INTEGER := 11644473600;

0 commit comments

Comments
 (0)