Skip to content

Commit

Permalink
Rename win_nt.cr to winnt.cr
Browse files Browse the repository at this point in the history
The header file is called winnt.h, the win_nt.cr was an error and should be
merged with winnt.cr.
  • Loading branch information
RX14 authored and asterite committed Jan 13, 2018
1 parent d294dd1 commit d7c9551
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/lib_c/x86_64-windows-msvc/c/win_nt.cr

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib_c/x86_64-windows-msvc/c/winbase.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "c/win_nt"
require "c/winnt"
require "c/win_def"
require "c/int_safe"

Expand Down
6 changes: 6 additions & 0 deletions src/lib_c/x86_64-windows-msvc/c/winnt.cr
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d7c9551

Please sign in to comment.