comparison src/floatfns.c @ 96303:ddedcecb18ef

* unexnext.c: * m/ews4800.h: * m/hp9000s300.h: * m/ibm370aix.h: * m/mips-siemens.h: * m/ncr386.h: * m/next.h: * m/pmax.h: * m/powerpcle.h: * m/tandem-s2.h: * s/386bsd.h: * s/bsd386.h: * s/bsd4-1.h: * s/bsd4-2.h: * s/bsdos2-1.h: * s/bsdos2.h: * s/bsdos3.h: * s/bsdos4.h: * s/nextstep.h: * s/ultrix4-3.h: * s/usg5-0.h: * s/usg5-2-2.h: * s/usg5-2.h: * s/usg5-4-3.h: * s/ux4800.h: * s/uxpds.h: * s/uxpv.h: Remove support for obsolete systems. * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h: Remove, insert contents in s/hpux-10.20.h * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h: Remove, insert contents in s/aix-4.2.h * s/usg5-3.h: Remove, insert contents in s/usg5-4.h. * s/bsd4-3.h: Rename to .. * s/bsd-common.h: ... this. * src/data.c: * src/doc.c: * src/ecrt0.c: * src/emacs.c: * src/fileio.c: * src/floatfns.c: * src/keyboard.c: * src/mem-limits.h: * src/print.c: * src/process.c: * src/sysdep.c: * src/syssignal.h: * src/systty.h: * src/syswait.h: * src/term.c: * src/unexec.c: * src/unexelf.c: * src/unexhp9k800.c: * src/m/hp800.h: * src/m/ibmrs6000.h: * src/m/mips.h: * src/m/vax.h: * src/s/darwin.h: * src/s/freebsd.h: * src/s/gnu.h: * src/s/ms-w32.h: * src/s/msdos.h: * src/s/netbsd.h: * src/s/template.h: Remove references to obsolete variables. * Makefile.in: Add dependencies for all unexec files. (admindir): Remove unused variable. (UNEXEC_SRC): Remove references. * config.nt: Remove reference to UNEXEC_SRC. * lwlib.c: Remove references to obsolete variables. * fakemail.c: Remove references to obsolete variables. * os.texi: Remove references to obsolete systems. * configure.in: * configure: Remove references to obsolete systems.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 26 Jun 2008 04:24:54 +0000
parents 8971ddf55736
children c3512b2085a0
comparison
equal deleted inserted replaced
96302:b3db7e68c460 96303:ddedcecb18ef
58 && FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128) 58 && FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128)
59 #define IEEE_FLOATING_POINT 1 59 #define IEEE_FLOATING_POINT 1
60 #else 60 #else
61 #define IEEE_FLOATING_POINT 0 61 #define IEEE_FLOATING_POINT 0
62 #endif 62 #endif
63 #endif
64
65 /* Work around a problem that happens because math.h on hpux 7
66 defines two static variables--which, in Emacs, are not really static,
67 because `static' is defined as nothing. The problem is that they are
68 defined both here and in lread.c.
69 These macros prevent the name conflict. */
70 #if defined (HPUX) && !defined (HPUX8)
71 #define _MAXLDBL floatfns_maxldbl
72 #define _NMAXLDBL floatfns_nmaxldbl
73 #endif 63 #endif
74 64
75 #include <math.h> 65 #include <math.h>
76 66
77 /* This declaration is omitted on some systems, like Ultrix. */ 67 /* This declaration is omitted on some systems, like Ultrix. */
970 { 960 {
971 if (! in_float) 961 if (! in_float)
972 fatal_error_signal (signo); 962 fatal_error_signal (signo);
973 963
974 #ifdef BSD_SYSTEM 964 #ifdef BSD_SYSTEM
975 #ifdef BSD4_1
976 sigrelse (SIGILL);
977 #else /* not BSD4_1 */
978 sigsetmask (SIGEMPTYMASK); 965 sigsetmask (SIGEMPTYMASK);
979 #endif /* not BSD4_1 */
980 #else 966 #else
981 /* Must reestablish handler each time it is called. */ 967 /* Must reestablish handler each time it is called. */
982 signal (SIGILL, float_error); 968 signal (SIGILL, float_error);
983 #endif /* BSD_SYSTEM */ 969 #endif /* BSD_SYSTEM */
984 970