[haiku-commits] r37387 - in haiku/trunk/headers/posix/arch: ppc x86_64

  • From: korli@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 4 Jul 2010 13:10:28 +0200 (CEST)

Author: korli
Date: 2010-07-04 13:10:28 +0200 (Sun, 04 Jul 2010)
New Revision: 37387
Changeset: http://dev.haiku-os.org/changeset/37387/haiku

Modified:
   haiku/trunk/headers/posix/arch/ppc/fenv.h
   haiku/trunk/headers/posix/arch/x86_64/fenv.h
Log:
Fixes uses of __uint16_t and __uint32_t which we don't define, also fixes the 
ppc buildtools build.


Modified: haiku/trunk/headers/posix/arch/ppc/fenv.h
===================================================================
--- haiku/trunk/headers/posix/arch/ppc/fenv.h   2010-07-04 05:32:10 UTC (rev 
37386)
+++ haiku/trunk/headers/posix/arch/ppc/fenv.h   2010-07-04 11:10:28 UTC (rev 
37387)
@@ -95,7 +95,7 @@
 union __fpscr {
        double __d;
        struct {
-               __uint32_t __junk;
+               uint32 __junk;
                fenv_t __reg;
        } __bits;
 };

Modified: haiku/trunk/headers/posix/arch/x86_64/fenv.h
===================================================================
--- haiku/trunk/headers/posix/arch/x86_64/fenv.h        2010-07-04 05:32:10 UTC 
(rev 37386)
+++ haiku/trunk/headers/posix/arch/x86_64/fenv.h        2010-07-04 11:10:28 UTC 
(rev 37387)
@@ -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


Other related posts: