From aaf45c7bbdbcd5df2c6a419987bfe40ec9e65f84 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 8 Jan 1994 09:23:12 +0000 Subject: [PATCH] (Frem) [MSDOS]: use `fmod', not `drem'. Put in config.h? --- src/data.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/data.c b/src/data.c index 3e7a88fc7cd..854fa3b3de5 100644 --- a/src/data.c +++ b/src/data.c @@ -30,6 +30,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "syssignal.h" +#if 0 /* That is untrue--XINT is used below, and it uses INTBITS. + What in the world is values.h, anyway? */ +#ifdef MSDOS +/* These are redefined in values.h and not used here */ +#undef INTBITS +#undef LONGBITS +#undef SHORTBITS +#endif +#endif + #ifdef LISP_FLOAT_TYPE #ifdef STDC_HEADERS @@ -1791,7 +1801,7 @@ Both X and Y must be numbers or markers.") if (f2 == 0) Fsignal (Qarith_error, Qnil); -#if defined (USG) || defined (sun) || defined (ultrix) || defined (hpux) +#if defined (USG) || defined (sun) || defined (ultrix) || defined (hpux) || defined (MSDOS) f1 = fmod (f1, f2); #else f1 = drem (f1, f2); -- 2.39.5