Mercurial > emacs
changeset 4843:136e32c763e3
[hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 09 Oct 1993 21:51:36 +0000 |
parents | ef5f87232112 |
children | 25d94807689e |
files | src/floatfns.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <math.h> #ifndef hpux