comparison src/floatfns.c @ 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 1fc792473491
children e53d4ae93675
comparison
equal deleted inserted replaced
4842:ef5f87232112 4843:136e32c763e3
50 #include "syssignal.h" 50 #include "syssignal.h"
51 51
52 Lisp_Object Qarith_error; 52 Lisp_Object Qarith_error;
53 53
54 #ifdef LISP_FLOAT_TYPE 54 #ifdef LISP_FLOAT_TYPE
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
55 65
56 #include <math.h> 66 #include <math.h>
57 67
58 #ifndef hpux 68 #ifndef hpux
59 /* These declarations are omitted on some systems, like Ultrix. */ 69 /* These declarations are omitted on some systems, like Ultrix. */