From d7c955178a2672ba22ce862a659eb11305d28eaf Mon Sep 17 00:00:00 2001 From: RX14 Date: Fri, 12 Jan 2018 23:32:10 +0000 Subject: [PATCH] Rename win_nt.cr to winnt.cr The header file is called winnt.h, the win_nt.cr was an error and should be merged with winnt.cr. --- src/lib_c/x86_64-windows-msvc/c/win_nt.cr | 5 ----- src/lib_c/x86_64-windows-msvc/c/winbase.cr | 2 +- src/lib_c/x86_64-windows-msvc/c/winnt.cr | 6 ++++++ 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 src/lib_c/x86_64-windows-msvc/c/win_nt.cr 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