diff --git a/src/lib_c/x86_64-windows-msvc/c/win_nt.cr b/src/lib_c/x86_64-windows-msvc/c/win_nt.cr deleted file mode 100644 index ab7aa9256a48..000000000000 --- a/src/lib_c/x86_64-windows-msvc/c/win_nt.cr +++ /dev/null @@ -1,5 +0,0 @@ -lib LibC - alias LPSTR = Char* - alias LONG = Int32 - alias WCHAR = UInt16 -end diff --git a/src/lib_c/x86_64-windows-msvc/c/winbase.cr b/src/lib_c/x86_64-windows-msvc/c/winbase.cr index 18586c8d5fa5..642a8ca8f1f0 100644 --- a/src/lib_c/x86_64-windows-msvc/c/winbase.cr +++ b/src/lib_c/x86_64-windows-msvc/c/winbase.cr @@ -1,4 +1,4 @@ -require "c/win_nt" +require "c/winnt" require "c/win_def" require "c/int_safe" diff --git a/src/lib_c/x86_64-windows-msvc/c/winnt.cr b/src/lib_c/x86_64-windows-msvc/c/winnt.cr index f04045a0a791..25aea34a63c1 100644 --- a/src/lib_c/x86_64-windows-msvc/c/winnt.cr +++ b/src/lib_c/x86_64-windows-msvc/c/winnt.cr @@ -1,3 +1,9 @@ lib LibC alias BOOLEAN = BYTE + alias LONG = Int32 + + alias CHAR = UChar + alias WCHAR = UInt16 + alias LPSTR = CHAR* + alias LPWSTR = WCHAR* end