aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-10-09 21:51:36 +0000
committerRichard M. Stallman1993-10-09 21:51:36 +0000
commit4cd7a37326a05ff7d6a59e99fff5eccf70401e7f (patch)
tree5086d9baea3a5cf6dcaead2ae2c60b21360e119b /src/floatfns.c
parent1f8359ba5c9a9c81773e40e00fe3dd063dfd7a6a (diff)
downloademacs-4cd7a37326a05ff7d6a59e99fff5eccf70401e7f.tar.gz
emacs-4cd7a37326a05ff7d6a59e99fff5eccf70401e7f.zip
[hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index da91b97f9ea..5cc499979f8 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -53,6 +53,16 @@ Lisp_Object Qarith_error;
53 53
54#ifdef LISP_FLOAT_TYPE 54#ifdef LISP_FLOAT_TYPE
55 55
56/* Work around a problem that happens because math.h on hpux 7
57 defines two static variables--which, in Emacs, are not really static,
58 because `static' is defined as nothing. The problem is that they are
59 defined both here and in lread.c.
60 These macros prevent the name conflict. */
61#if defined (HPUX) && !defined (HPUX8)
62#define _MAXLDBL floatfns_maxldbl
63#define _NMAXLDBL floatfns_nmaxldbl
64#endif
65
56#include <math.h> 66#include <math.h>
57 67
58#ifndef hpux 68#ifndef hpux