about summary refs log tree commit diff
path: root/ports/sysdeps/tile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-03 17:07:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-03 17:07:56 +0000
commitfbeafedeea37e0af1984a6511018d159f5ceed6a (patch)
tree3bca3c62f6c2004bf50708d4ced2500971a342b7 /ports/sysdeps/tile
parent0244426b930b006b128ea0c874b1301e9528ad5f (diff)
downloadglibc-fbeafedeea37e0af1984a6511018d159f5ceed6a.tar.gz
glibc-fbeafedeea37e0af1984a6511018d159f5ceed6a.tar.xz
glibc-fbeafedeea37e0af1984a6511018d159f5ceed6a.zip
Make fenv.h FE_* macros usable in #if (bug 3439).
Diffstat (limited to 'ports/sysdeps/tile')
-rw-r--r--ports/sysdeps/tile/bits/fenv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ports/sysdeps/tile/bits/fenv.h b/ports/sysdeps/tile/bits/fenv.h
index 7638e8cc50..6b045353c1 100644
--- a/ports/sysdeps/tile/bits/fenv.h
+++ b/ports/sysdeps/tile/bits/fenv.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
 
@@ -30,8 +30,9 @@ enum
   {
     __FE_UNDEFINED = 0,
 
-    FE_TONEAREST = 1,
-#define FE_TONEAREST	FE_TONEAREST
+    FE_TONEAREST =
+#define FE_TONEAREST	1
+      FE_TONEAREST,
   };
 
 /* Type representing exception flags (if there were any).  */