Mercurial > emacs
diff src/data.c @ 1253:7afcf7be0d30
* data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
HP/UX, not just under USG systems.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 29 Sep 1992 04:54:28 +0000 |
parents | 65f15f1961d8 |
children | 3790dfbefb30 |
line wrap: on
line diff
--- a/src/data.c Tue Sep 29 04:08:04 1992 +0000 +++ b/src/data.c Tue Sep 29 04:54:28 1992 +0000 @@ -1649,7 +1649,7 @@ f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1); f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2); -#ifdef USG +#if defined (USG) || defined (sun) || defined (ultrix) || defined (hpux) f1 = fmod (f1, f2); #else f1 = drem (f1, f2);