diff options
Diffstat (limited to 'ports/sysdeps/arm/fesetenv.c')
-rw-r--r-- | ports/sysdeps/arm/fesetenv.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ports/sysdeps/arm/fesetenv.c b/ports/sysdeps/arm/fesetenv.c index 61370325e2..2fad61da1a 100644 --- a/ports/sysdeps/arm/fesetenv.c +++ b/ports/sysdeps/arm/fesetenv.c @@ -1,5 +1,5 @@ /* Install given floating-point environment. - Copyright (C) 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2004-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -18,16 +18,13 @@ #include <fenv.h> #include <fpu_control.h> +#include <arm-features.h> -#include <unistd.h> -#include <ldsodefs.h> -#include <dl-procinfo.h> -#include <sysdep.h> int __fesetenv (const fenv_t *envp) { - if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) + if (ARM_HAVE_VFP) { unsigned int temp; |