* Replace remaining BeOS int types.

* Removed inclusion of <SupportDefs.h>, respectively replaced it with
  <stdint.h>.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37404 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-07-05 16:11:43 +00:00
parent 281e8a3d0e
commit 7b2003907a
4 changed files with 8 additions and 7 deletions

View File

@ -29,9 +29,9 @@
#ifndef _FENV_H_
#define _FENV_H_
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/types.h>
#include <SupportDefs.h>
typedef uint32_t fenv_t;
typedef uint32_t fexcept_t;

View File

@ -29,9 +29,9 @@
#ifndef _FENV_H_
#define _FENV_H_
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/types.h>
#include <SupportDefs.h>
typedef uint32_t fenv_t;
typedef uint32_t fexcept_t;

View File

@ -29,11 +29,11 @@
#ifndef _FENV_H_
#define _FENV_H_
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/types.h>
#include <SupportDefs.h>
/*
/*
* To preserve binary compatibility with FreeBSD 5.3, we pack the
* mxcsr into some reserved fields, rather than changing sizeof(fenv_t).
*/
@ -49,8 +49,8 @@ typedef struct {
#define __get_mxcsr(env) (((env).__mxcsr_hi << 16) | \
((env).__mxcsr_lo))
#define __set_mxcsr(env, x) do { \
(env).__mxcsr_hi = (uint32)(x) >> 16; \
(env).__mxcsr_lo = (uint16)(x); \
(env).__mxcsr_hi = (uint32_t)(x) >> 16; \
(env).__mxcsr_lo = (uint16_t)(x); \
} while (0)
typedef uint16_t fexcept_t;

View File

@ -29,8 +29,9 @@
#ifndef _FENV_H_
#define _FENV_H_
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/_types.h>
#include <sys/types.h>
typedef struct {
struct {