comparison src/sysfloat.h @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents abe6d1db359e
children 308d34e9f07d
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
20 20
21 /* Synched up with: Not really in FSF. */ 21 /* Synched up with: Not really in FSF. */
22 22
23 #ifndef INCLUDED_sysfloat_h_ 23 #ifndef INCLUDED_sysfloat_h_
24 #define INCLUDED_sysfloat_h_ 24 #define INCLUDED_sysfloat_h_
25
26 /* Work around a problem that happens because math.h on hpux 7
27 defines two static variables--which, in Emacs, are not really static,
28 because `static' is defined as nothing. The problem is that they are
29 defined both in data.c and in floatfns.c.
30 These macros prevent the name conflict.
31
32 (Is it still necessary to define static to nothing on hpux7?
33 Removing that would be the best fix. -jwz)
34 */
35 # if defined (HPUX) && !defined (HPUX8)
36 # define _MAXLDBL THIS_FILENAME ## _maxldbl
37 # define _NMAXLDBL THIS_FILENAME ## _nmaxldbl
38 # endif
39 25
40 #if defined(LINUX) && !(defined (__GLIBC__) && (__GLIBC__ >= 2)) 26 #if defined(LINUX) && !(defined (__GLIBC__) && (__GLIBC__ >= 2))
41 /* These are redefined (correctly, but differently) in values.h. */ 27 /* These are redefined (correctly, but differently) in values.h. */
42 #undef INTBITS 28 #undef INTBITS
43 #undef LONGBITS 29 #undef LONGBITS