# HG changeset patch # User Richard M. Stallman # Date 750203496 0 # Node ID 136e32c763e39de064cc9c99f21afebc3f741476 # Parent ef5f872321129a35fcd39bade2329430b0d8111c [hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions. diff -r ef5f87232112 -r 136e32c763e3 src/floatfns.c --- a/src/floatfns.c Sat Oct 09 21:44:57 1993 +0000 +++ b/src/floatfns.c Sat Oct 09 21:51:36 1993 +0000 @@ -53,6 +53,16 @@ #ifdef LISP_FLOAT_TYPE +/* Work around a problem that happens because math.h on hpux 7 + defines two static variables--which, in Emacs, are not really static, + because `static' is defined as nothing. The problem is that they are + defined both here and in lread.c. + These macros prevent the name conflict. */ +#if defined (HPUX) && !defined (HPUX8) +#define _MAXLDBL floatfns_maxldbl +#define _NMAXLDBL floatfns_nmaxldbl +#endif + #include #ifndef hpux