about summary refs log tree commit diff
path: root/ports/sysdeps/arm/fpu_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/arm/fpu_control.h')
-rw-r--r--ports/sysdeps/arm/fpu_control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/sysdeps/arm/fpu_control.h b/ports/sysdeps/arm/fpu_control.h
index 3ceb58b2fc..513e6948a1 100644
--- a/ports/sysdeps/arm/fpu_control.h
+++ b/ports/sysdeps/arm/fpu_control.h
@@ -24,8 +24,8 @@
 #define _FPU_RESERVED 0xffffffff
 #define _FPU_DEFAULT  0x00000000
 typedef unsigned int fpu_control_t;
-#define _FPU_GETCW(cw) 0
-#define _FPU_SETCW(cw) do { } while (0)
+#define _FPU_GETCW(cw) (cw) = 0
+#define _FPU_SETCW(cw) (void) (cw)
 extern fpu_control_t __fpu_control;
 
 #else