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

Commit

Permalink
Merge pull request #852 from redstar/ppc64fenv
Browse files Browse the repository at this point in the history
Fix build on PPC64.
  • Loading branch information
ibuclaw committed Jun 28, 2014
2 parents aa5e8e4 + d9877b0 commit 3172515
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/stdc/fenv.d
Expand Up @@ -104,6 +104,12 @@ else version( linux )

alias fexcept_t = uint;
}
// https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/powerpc/bits/fenv.h
else version (PPC64)
{
alias fenv_t = double;
alias fexcept_t = uint;
}
else
{
static assert(0, "Unimplemented architecture");
Expand Down

0 comments on commit 3172515

Please sign in to comment.