[haiku-commits] r37404 - in haiku/trunk/headers/posix/arch: arm ppc x86 x86_64

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 5 Jul 2010 18:11:44 +0200 (CEST)

Author: bonefish
Date: 2010-07-05 18:11:43 +0200 (Mon, 05 Jul 2010)
New Revision: 37404
Changeset: http://dev.haiku-os.org/changeset/37404/haiku

Modified:
   haiku/trunk/headers/posix/arch/arm/fenv.h
   haiku/trunk/headers/posix/arch/ppc/fenv.h
   haiku/trunk/headers/posix/arch/x86/fenv.h
   haiku/trunk/headers/posix/arch/x86_64/fenv.h
Log:
* Replace remaining BeOS int types.
* Removed inclusion of <SupportDefs.h>, respectively replaced it with
  <stdint.h>.


Modified: haiku/trunk/headers/posix/arch/arm/fenv.h
===================================================================
--- haiku/trunk/headers/posix/arch/arm/fenv.h   2010-07-05 15:14:12 UTC (rev 
37403)
+++ haiku/trunk/headers/posix/arch/arm/fenv.h   2010-07-05 16:11:43 UTC (rev 
37404)
@@ -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;

Modified: haiku/trunk/headers/posix/arch/ppc/fenv.h
===================================================================
--- haiku/trunk/headers/posix/arch/ppc/fenv.h   2010-07-05 15:14:12 UTC (rev 
37403)
+++ haiku/trunk/headers/posix/arch/ppc/fenv.h   2010-07-05 16:11:43 UTC (rev 
37404)
@@ -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;

Modified: haiku/trunk/headers/posix/arch/x86/fenv.h
===================================================================
--- haiku/trunk/headers/posix/arch/x86/fenv.h   2010-07-05 15:14:12 UTC (rev 
37403)
+++ haiku/trunk/headers/posix/arch/x86/fenv.h   2010-07-05 16:11:43 UTC (rev 
37404)
@@ -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 @@
 #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;

Modified: haiku/trunk/headers/posix/arch/x86_64/fenv.h
===================================================================
--- haiku/trunk/headers/posix/arch/x86_64/fenv.h        2010-07-05 15:14:12 UTC 
(rev 37403)
+++ haiku/trunk/headers/posix/arch/x86_64/fenv.h        2010-07-05 16:11:43 UTC 
(rev 37404)
@@ -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 {


Other related posts:

  • » [haiku-commits] r37404 - in haiku/trunk/headers/posix/arch: arm ppc x86 x86_64 - ingo_weinhold