Commit 4cd7a373 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

[hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.

parent 1f8359ba
...@@ -53,6 +53,16 @@ Lisp_Object Qarith_error; ...@@ -53,6 +53,16 @@ Lisp_Object Qarith_error;
#ifdef LISP_FLOAT_TYPE #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> #include <math.h>
#ifndef hpux #ifndef hpux
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment