1 diff --git a/sysdeps/sh/sh4/fpu/fpu_control.h b/sysdeps/sh/sh4/fpu/fpu_control.h
2 index d1be46d..3ea37d3 100644
3 --- a/sysdeps/sh/sh4/fpu/fpu_control.h
4 +++ b/sysdeps/sh/sh4/fpu/fpu_control.h
6 /* FPU control word definitions. SH version.
7 - Copyright (C) 1999, 2000, 2009 Free Software Foundation, Inc.
8 + Copyright (C) 1999, 2000, 2009, 2010 Free Software Foundation, Inc.
9 This file is part of the GNU C Library.
11 The GNU C Library is free software; you can redistribute it and/or
12 @@ -46,7 +46,14 @@ typedef unsigned int fpu_control_t;
15 /* GCC provides this function. */
16 +/* Allow the use in C++ code. */
20 extern void __set_fpscr (unsigned long);
24 #define _FPU_SETCW(cw) __set_fpscr ((cw))
26 #define _FPU_SETCW(cw) __asm__ ("lds %0,fpscr" : : "r" (cw))