about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-12-16 18:35:41 +0000
committerAndreas Jaeger <aj@suse.de>2004-12-16 18:35:41 +0000
commit638bed90c240a049af82f7579743e4646fa99820 (patch)
tree64773b6b41284c11681c5a710a35bfe5cedd519c
parente853ea00f30f9f8e9bbcc4e58505f2b0a0479590 (diff)
downloadglibc-638bed90c240a049af82f7579743e4646fa99820.tar.gz
glibc-638bed90c240a049af82f7579743e4646fa99820.tar.xz
glibc-638bed90c240a049af82f7579743e4646fa99820.zip
Use #if defined to not receive warnings about undefined symbols.
-rw-r--r--math/math.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/math.h b/math/math.h
index 65fd715510..7f8a4815f4 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1,5 +1,5 @@
 /* Declarations for math functions.
-   Copyright (C) 1991-1993,1995-1999,2001,2002 Free Software Foundation, Inc.
+   Copyright (C) 1991-1993,1995-1999,2001,2002,2004 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
@@ -132,7 +132,7 @@ extern int signgam;
 
 
 /* ISO C99 defines some generic macros which work on any data type.  */
-#if __USE_ISOC99
+#ifdef __USE_ISOC99
 
 /* Get the architecture specific values describing the floating-point
    evaluation.  The following symbols will get defined:
@@ -362,7 +362,7 @@ extern int matherr (struct exception *__exc);
 # define __NO_MATH_INLINES	1
 #endif
 
-#if __USE_ISOC99 && __GNUC_PREREQ(2,97)
+#if defined __USE_ISOC99 && __GNUC_PREREQ(2,97)
 /* ISO C99 defines some macros to compare number while taking care for
    unordered numbers.  Many FPUs provide special instructions to support
    these operations.  Generic support in GCC for these as builtins went
@@ -382,7 +382,7 @@ extern int matherr (struct exception *__exc);
 # include <bits/mathinline.h>
 #endif
 
-#if __USE_ISOC99
+#ifdef __USE_ISOC99
 /* If we've still got undefined comparison macros, provide defaults.  */
 
 /* Return nonzero value if X is greater than Y.  */