From 8350c7e88273644e42322bd0e1007b9df3dc9def Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 13 Mar 2011 21:48:22 +0100 Subject: change __HAVE_FPU__ to __UCLIBC_HAS_FPU__ add features.h where necessary Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/m68k/bsd-setjmp.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/m68k/bsd-setjmp.S') diff --git a/libc/sysdeps/linux/m68k/bsd-setjmp.S b/libc/sysdeps/linux/m68k/bsd-setjmp.S index b41b4c1fd..9daf27713 100644 --- a/libc/sysdeps/linux/m68k/bsd-setjmp.S +++ b/libc/sysdeps/linux/m68k/bsd-setjmp.S @@ -2,6 +2,7 @@ /* Copyright (C) 2002, David McCullough */ /* This file is released under the LGPL, any version you like */ +#include #include #include "m68k_pic.S" @@ -13,7 +14,7 @@ setjmp: moveal %sp@(4), %a0 movel %sp@(0), %a0@(JB_PC) moveml %d2-%d7/%a2-%a7, %a0@(JB_REGS) -#if defined(__HAVE_68881__) || defined(__HAVE_FPU__) +#if defined __HAVE_68881__ || defined __UCLIBC_HAS_FPU__ fmovemx %fp2-%fp7, %a0@(JB_FPREGS) #endif clrl %d0 -- cgit v1.2.3