* followed Ingo's suggestion and used uint*_t types instead of public Haiku types.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37388 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <SupportDefs.h>
|
||||
|
||||
typedef uint32 fenv_t;
|
||||
typedef uint32 fexcept_t;
|
||||
typedef uint32_t fenv_t;
|
||||
typedef uint32_t fexcept_t;
|
||||
|
||||
/* Exception flags */
|
||||
#define FE_INVALID 0x0001
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <SupportDefs.h>
|
||||
|
||||
typedef uint32 fenv_t;
|
||||
typedef uint32 fexcept_t;
|
||||
typedef uint32_t fenv_t;
|
||||
typedef uint32_t fexcept_t;
|
||||
|
||||
/* Exception flags */
|
||||
#define FE_INEXACT 0x02000000
|
||||
@@ -95,7 +95,7 @@ extern const fenv_t __fe_dfl_env;
|
||||
union __fpscr {
|
||||
double __d;
|
||||
struct {
|
||||
uint32 __junk;
|
||||
uint32_t __junk;
|
||||
fenv_t __reg;
|
||||
} __bits;
|
||||
};
|
||||
|
||||
@@ -38,11 +38,11 @@
|
||||
* mxcsr into some reserved fields, rather than changing sizeof(fenv_t).
|
||||
*/
|
||||
typedef struct {
|
||||
uint16 __control;
|
||||
uint16 __mxcsr_hi;
|
||||
uint16 __status;
|
||||
uint16 __mxcsr_lo;
|
||||
uint32 __tag;
|
||||
uint16_t __control;
|
||||
uint16_t __mxcsr_hi;
|
||||
uint16_t __status;
|
||||
uint16_t __mxcsr_lo;
|
||||
uint32_t __tag;
|
||||
char __other[16];
|
||||
} fenv_t;
|
||||
|
||||
@@ -53,7 +53,7 @@ typedef struct {
|
||||
(env).__mxcsr_lo = (uint16)(x); \
|
||||
} while (0)
|
||||
|
||||
typedef uint16 fexcept_t;
|
||||
typedef uint16_t fexcept_t;
|
||||
|
||||
/* Exception flags */
|
||||
#define FE_INVALID 0x01
|
||||
|
||||
@@ -34,12 +34,12 @@
|
||||
|
||||
typedef struct {
|
||||
struct {
|
||||
uint32 __control;
|
||||
uint32 __status;
|
||||
uint32 __tag;
|
||||
uint32_t __control;
|
||||
uint32_t __status;
|
||||
uint32_t __tag;
|
||||
char __other[16];
|
||||
} __x87;
|
||||
uint32 __mxcsr;
|
||||
uint32_t __mxcsr;
|
||||
} fenv_t;
|
||||
|
||||
typedef uint16 fexcept_t;
|
||||
|
||||
Reference in New Issue
Block a user