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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/sysdeps/arm/fpu_control.h b/ports/sysdeps/arm/fpu_control.h
index 2fee79fa88..3ceb58b2fc 100644
--- a/ports/sysdeps/arm/fpu_control.h
+++ b/ports/sysdeps/arm/fpu_control.h
@@ -19,7 +19,7 @@
 #ifndef _FPU_CONTROL_H
 #define _FPU_CONTROL_H
 
-#if !defined(_LIBC) && defined(__SOFTFP__)
+#if !(defined(_LIBC) && !defined(_LIBC_TEST)) && defined(__SOFTFP__)
 
 #define _FPU_RESERVED 0xffffffff
 #define _FPU_DEFAULT  0x00000000