* lib/math.in.h (GNULIB_defined_signbit): New macro.
+2019-04-12 Bruno Haible <bruno@clisp.org>
+
+ signbit: Fix compilation error when gnulib's math.h exists twice.
+ * lib/math.in.h (GNULIB_defined_signbit): New macro.
+
2019-04-12 Bruno Haible <bruno@clisp.org>
openmp: Fix compilation error on platforms without OpenMP.
sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
__builtin_signbitf (x))
# endif
-# if @REPLACE_SIGNBIT@
+# if @REPLACE_SIGNBIT@ && !GNULIB_defined_signbit
# undef signbit
_GL_EXTERN_C int gl_signbitf (float arg);
_GL_EXTERN_C int gl_signbitd (double arg);
(sizeof (x) == sizeof (long double) ? gl_signbitl (x) : \
sizeof (x) == sizeof (double) ? gl_signbitd (x) : \
gl_signbitf (x))
+# define GNULIB_defined_signbit 1
# endif
# ifdef __cplusplus
# if defined signbit || defined GNULIB_NAMESPACE