# HG changeset patch # User Richard M. Stallman # Date 751085232 0 # Node ID ff23fe23f58c8ab831b2b15271ec09b4f61b2f60 # Parent aa1a42c0b7797f540bb9caf49f0437c3b8f216b2 [hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions. diff -r aa1a42c0b779 -r ff23fe23f58c src/data.c --- a/src/data.c Tue Oct 19 03:26:37 1993 +0000 +++ b/src/data.c Wed Oct 20 02:47:12 1993 +0000 @@ -31,9 +31,21 @@ #include "syssignal.h" #ifdef LISP_FLOAT_TYPE + #ifdef STDC_HEADERS #include #endif + +/* 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 + here, in floatfns.c, and in lread.c. + These macros prevent the name conflict. */ +#if defined (HPUX) && !defined (HPUX8) +#define _MAXLDBL data_c_maxldbl +#define _NMAXLDBL data_c_nmaxldbl +#endif + #include #endif /* LISP_FLOAT_TYPE */