]> git.eshelyaron.com Git - emacs.git/commitdiff
(Frem) [MSDOS]: use `fmod', not `drem'. Put in config.h?
authorRichard M. Stallman <rms@gnu.org>
Sat, 8 Jan 1994 09:23:12 +0000 (09:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 8 Jan 1994 09:23:12 +0000 (09:23 +0000)
src/data.c

index 3e7a88fc7cdce820e5355f904556903cc9f05087..854fa3b3de57dc8b8d952ccb0217df4a7b77004b 100644 (file)
@@ -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);