summaryrefslogtreecommitdiff
path: root/src/data.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-08 09:23:12 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-08 09:23:12 +0000
commitaaf45c7bbdbcd5df2c6a419987bfe40ec9e65f84 (patch)
tree8cab9f65afd596f88696d7e70cd06ba50c685aa3 /src/data.c
parent1b94449f31e3c35ab82023e4f90cbb796ec5558f (diff)
downloademacs-aaf45c7bbdbcd5df2c6a419987bfe40ec9e65f84.tar.gz
(Frem) [MSDOS]: use `fmod', not `drem'. Put in config.h?
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c12
1 files changed, 11 insertions, 1 deletions
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);