Skip to content

Commit

Permalink
openlibm_fenv_powerpc.h: check if __BYTE_ORDER__ is actually defined
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jun 19, 2024
1 parent a47e504 commit 07aa16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/openlibm_fenv_powerpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ extern const fenv_t __fe_dfl_env;
union __fpscr {
double __d;
struct {
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
fenv_t __reg;
__uint32_t __junk;
#else
Expand Down

0 comments on commit 07aa16a

Please sign in to comment.