comparison src/data.c @ 4860:ff23fe23f58c

[hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.
author Richard M. Stallman <rms@gnu.org>
date Wed, 20 Oct 1993 02:47:12 +0000
parents 64cdff1c8ad1
children 6d6d042b3df6
comparison
equal deleted inserted replaced
4859:aa1a42c0b779 4860:ff23fe23f58c
29 #endif 29 #endif
30 30
31 #include "syssignal.h" 31 #include "syssignal.h"
32 32
33 #ifdef LISP_FLOAT_TYPE 33 #ifdef LISP_FLOAT_TYPE
34
34 #ifdef STDC_HEADERS 35 #ifdef STDC_HEADERS
35 #include <stdlib.h> 36 #include <stdlib.h>
36 #endif 37 #endif
38
39 /* Work around a problem that happens because math.h on hpux 7
40 defines two static variables--which, in Emacs, are not really static,
41 because `static' is defined as nothing. The problem is that they are
42 here, in floatfns.c, and in lread.c.
43 These macros prevent the name conflict. */
44 #if defined (HPUX) && !defined (HPUX8)
45 #define _MAXLDBL data_c_maxldbl
46 #define _NMAXLDBL data_c_nmaxldbl
47 #endif
48
37 #include <math.h> 49 #include <math.h>
38 #endif /* LISP_FLOAT_TYPE */ 50 #endif /* LISP_FLOAT_TYPE */
39 51
40 #if !defined (atof) 52 #if !defined (atof)
41 extern double atof (); 53 extern double atof ();