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

Commit

Permalink
core.stdc.stdint: Fix fast16_t definitions on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw authored and dlang-bot committed Mar 3, 2022
1 parent 2735c71 commit 402d1a3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/core/stdc/stdint.d
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,16 @@ version (Windows)

alias int_fast8_t = byte; ///
alias uint_fast8_t = ubyte; ///
alias int_fast16_t = int; ///
alias uint_fast16_t = uint; ///
version (MinGW)
{
alias int_fast16_t = short; ///
alias uint_fast16_t = ushort; ///
}
else
{
alias int_fast16_t = int; ///
alias uint_fast16_t = uint; ///
}
alias int_fast32_t = int32_t; ///
alias uint_fast32_t = uint32_t; ///
alias int_fast64_t = long; ///
Expand Down

0 comments on commit 402d1a3

Please sign in to comment.