Commit a080486e authored by Jim Blandy's avatar Jim Blandy
Browse files

* data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and

	HP/UX, not just under USG systems.
parent b271272a
......@@ -931,7 +931,7 @@ If BUFFER is omitted, the current buffer is buried.")
}
/* Remove it from the screen. */
if (EQ (buf, XWINDOW (selected_frame)->buffer))
if (EQ (buf, XWINDOW (selected_window)->buffer))
Fswitch_to_buffer (Fother_buffer (buf), Qnil);
/* Move it to the end of the buffer list. */
......
......@@ -1649,7 +1649,7 @@ Both must be numbers or markers.")
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment