$OpenBSD: patch-source_mupen64plus-core_src_r4300_macros_h,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
--- src/r4300/macros.h.orig	Sun Dec 18 23:19:42 2011
+++ src/r4300/macros.h	Sun Dec 18 20:04:55 2011
@@ -49,7 +49,7 @@
 #define cffd PC->f.cf.fd
 
 // 32 bits macros
-#ifndef _BIG_ENDIAN
+#ifndef M64P_BIG_ENDIAN
 #define rrt32 *((int*)PC->f.r.rt)
 #define rrd32 *((int*)PC->f.r.rd)
 #define rrs32 *((int*)PC->f.r.rs)
@@ -89,20 +89,6 @@
 #define TagLo reg_cop0[28]
 #define TagHi reg_cop0[29]
 #define ErrorEPC reg_cop0[30]
-
-#if (defined(__i386__) || defined(__x86_64__))
-#define set_rounding() __asm__ __volatile__("fldcw %0" : : "m" (rounding_mode))
-#define set_trunc() __asm__ __volatile__("fldcw %0" : : "m" (trunc_mode))
-#define set_round() __asm__ __volatile__("fldcw %0" : : "m" (round_mode))
-#define set_ceil() __asm__ __volatile__("fldcw %0" : : "m" (ceil_mode))
-#define set_floor() __asm__ __volatile__("fldcw %0" : : "m" (floor_mode))
-#else
-#define set_rounding() ((void) 0)
-#define set_trunc() ((void) 0)
-#define set_round() ((void) 0)
-#define set_ceil() ((void) 0)
-#define set_floor() ((void) 0)
-#endif
 
 #endif
 
