]> code.delx.au - gnu-emacs/commitdiff
Don't declare logb if it is a macro.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 May 1994 00:17:44 +0000 (00:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 May 1994 00:17:44 +0000 (00:17 +0000)
src/floatfns.c

index 8bfb8814b6f858508385206b20fe87cad3599f7f..66eb303b1d7699dfad510b00ef8ce954dad172eb 100644 (file)
@@ -73,9 +73,9 @@ Lisp_Object Qarith_error;
 #include <math.h>
 
 /* This declaration is omitted on some systems, like Ultrix.  */
-#if !defined (HPUX) && defined (HAVE_LOGB)
+#if !defined (HPUX) && defined (HAVE_LOGB) && !defined (logb)
 extern double logb ();
-#endif /* not HPUX and HAVE_LOGB */
+#endif /* not HPUX and HAVE_LOGB and no logb macro */
 
 #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW)
     /* If those are defined, then this is probably a `matherr' machine. */