changeset 5504:6d6d042b3df6

(Frem) [MSDOS]: use `fmod', not `drem'. Put in config.h?
author Richard M. Stallman <rms@gnu.org>
date Sat, 08 Jan 1994 09:23:12 +0000
parents 003e84b91d21
children 3e7c458f3d7f
files src/data.c
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/data.c	Sat Jan 08 09:22:50 1994 +0000
+++ b/src/data.c	Sat Jan 08 09:23:12 1994 +0000
@@ -30,6 +30,16 @@
 
 #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 @@
       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);