diff options
| author | Richard M. Stallman | 1993-10-20 02:47:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-10-20 02:47:12 +0000 |
| commit | defa77b5a6eba3d57008d97a01cf757a7ddca55c (patch) | |
| tree | 327f596fe575231b4c5d33d75873e5575a7bfa76 /src/data.c | |
| parent | 7090d1e6ca026949955a1e1245d29777af09c5ca (diff) | |
| download | emacs-defa77b5a6eba3d57008d97a01cf757a7ddca55c.tar.gz emacs-defa77b5a6eba3d57008d97a01cf757a7ddca55c.zip | |
[hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c index 9b42d83d09b..3e7a88fc7cd 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -31,9 +31,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 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 | ||