Skip to content

Commit 1ee85b5

Browse files
committed
Replace __uint32_t with uint32_t everywhere
__uint32_t is non-standard and not available on at least musl libc
1 parent c9c6fd6 commit 1ee85b5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/openlibm_fenv_powerpc.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
#define __fenv_static static
3636
#endif
3737

38-
typedef __uint32_t fenv_t;
39-
typedef __uint32_t fexcept_t;
38+
typedef uint32_t fenv_t;
39+
typedef uint32_t fexcept_t;
4040

4141
/* Exception flags */
4242
#define FE_INEXACT 0x02000000
@@ -99,9 +99,9 @@ union __fpscr {
9999
struct {
100100
#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
101101
fenv_t __reg;
102-
__uint32_t __junk;
102+
uint32_t __junk;
103103
#else
104-
__uint32_t __junk;
104+
uint32_t __junk;
105105
fenv_t __reg;
106106
#endif
107107
} __bits;

include/openlibm_fenv_s390.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
#define __fenv_static static
3636
#endif
3737

38-
typedef __uint32_t fenv_t;
39-
typedef __uint32_t fexcept_t;
38+
typedef uint32_t fenv_t;
39+
typedef uint32_t fexcept_t;
4040

4141
/* Exception flags */
4242
#define FE_INEXACT 0x080000

0 commit comments

Comments
 (0)