From 8386c959c4bd4a5cc4d11fc22508cf9431de8a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 4 Jul 2010 11:10:28 +0000 Subject: [PATCH] Fixes uses of __uint16_t and __uint32_t which we don't define, also fixes the ppc buildtools build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37387 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/arch/ppc/fenv.h | 2 +- headers/posix/arch/x86_64/fenv.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/headers/posix/arch/ppc/fenv.h b/headers/posix/arch/ppc/fenv.h index 7458b30b49..e6658a2bc8 100644 --- a/headers/posix/arch/ppc/fenv.h +++ b/headers/posix/arch/ppc/fenv.h @@ -95,7 +95,7 @@ extern const fenv_t __fe_dfl_env; union __fpscr { double __d; struct { - __uint32_t __junk; + uint32 __junk; fenv_t __reg; } __bits; }; diff --git a/headers/posix/arch/x86_64/fenv.h b/headers/posix/arch/x86_64/fenv.h index b4d7379e8f..59732b1d15 100644 --- a/headers/posix/arch/x86_64/fenv.h +++ b/headers/posix/arch/x86_64/fenv.h @@ -34,15 +34,15 @@ typedef struct { struct { - __uint32_t __control; - __uint32_t __status; - __uint32_t __tag; + uint32 __control; + uint32 __status; + uint32 __tag; char __other[16]; } __x87; - __uint32_t __mxcsr; + uint32 __mxcsr; } fenv_t; -typedef __uint16_t fexcept_t; +typedef uint16 fexcept_t; /* Exception flags */ #define FE_INVALID 0x01