]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(NAN): Rename union to avoid duplicate definition with function __nan.
authorUlrich Drepper <drepper@redhat.com>
Sat, 18 Dec 1999 23:04:30 +0000 (23:04 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 18 Dec 1999 23:04:30 +0000 (23:04 +0000)
sysdeps/ieee754/bits/nan.h

index 1f385ffc0002e27c7213c402e18e73a75c121c1b..fbabd7e29a7999d49a12853b408333e425579cd0 100644 (file)
@@ -1,5 +1,5 @@
 /* `NAN' constant for IEEE 754 machines.
-   Copyright (C) 1992, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1996, 1997, 1999 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
@@ -42,7 +42,7 @@
 #  define __nan_bytes          { 0, 0, 0xc0, 0x7f }
 # endif
 
-static union { unsigned char __c[4]; float __d; } __nan = { __nan_bytes };
-# define NAN   (__nan.__d)
+static union { unsigned char __c[4]; float __d; } __nan_union = { __nan_bytes };
+# define NAN   (__nan_union.__d)
 
 #endif /* GCC.  */