]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't define via builtins.
authorUlrich Drepper <drepper@redhat.com>
Wed, 10 Mar 2004 05:58:17 +0000 (05:58 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 10 Mar 2004 05:58:17 +0000 (05:58 +0000)
sysdeps/m68k/fpu/bits/mathinline.h

index ec00b4b71147551862d8ef1e316de66fd8df978a..1e43e43047009cee6c8fa2f08de4df4eab51101a 100644 (file)
 #ifdef __GNUC__
 
 #ifdef __USE_ISOC99
-
-# if __GNUC_PREREQ (3,1)
 /* GCC 3.1 and up have builtins that actually can be used.  */
-#  define isgreater(x, y) __builtin_isgreater (x, y)
-#  define isgreaterequal(x, y) __builtin_isgreaterequal (x, y)
-#  define isless(x, y) __builtin_isless (x, y)
-#  define islessequal(x, y) __builtin_islessequal (x, y)
-#  define islessgreater(x, y) __builtin_islessgreater (x, y)
-#  define isunordered(x, y) __builtin_isunordered (x, y)
-# else
+# if !__GNUC_PREREQ (3,1)
 /* ISO C99 defines some macros to perform unordered comparisons.  The
    m68k FPU supports this with special opcodes and we should use them.
    These must not be inline functions since we have to be able to handle
    all floating-point types.  */
+#  undef isgreater
+#  undef isgreaterequal
+#  undef isless
+#  undef islessequal
+#  undef islessgreater
+#  undef isunordered
 #  define isgreater(x, y)                                      \
    __extension__                                       \
    ({ char __result;                                   \