aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-09-29 04:54:28 +0000
committerJim Blandy1992-09-29 04:54:28 +0000
commita080486e57ba53ae98ea061603219d97b6cc75c7 (patch)
treeb3172e4e51562f8659255ed116982d6d3e34a8bc /src
parentb271272a9a8a0ace7d4784ad03196d451aebc010 (diff)
downloademacs-a080486e57ba53ae98ea061603219d97b6cc75c7.tar.gz
emacs-a080486e57ba53ae98ea061603219d97b6cc75c7.zip
* data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
HP/UX, not just under USG systems.
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c2
-rw-r--r--src/data.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 80d4ece06a1..1d363738342 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -931,7 +931,7 @@ If BUFFER is omitted, the current buffer is buried.")
931 } 931 }
932 932
933 /* Remove it from the screen. */ 933 /* Remove it from the screen. */
934 if (EQ (buf, XWINDOW (selected_frame)->buffer)) 934 if (EQ (buf, XWINDOW (selected_window)->buffer))
935 Fswitch_to_buffer (Fother_buffer (buf), Qnil); 935 Fswitch_to_buffer (Fother_buffer (buf), Qnil);
936 936
937 /* Move it to the end of the buffer list. */ 937 /* Move it to the end of the buffer list. */
diff --git a/src/data.c b/src/data.c
index 9b45fc61c30..50813f672b2 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1649,7 +1649,7 @@ Both must be numbers or markers.")
1649 1649
1650 f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1); 1650 f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1);
1651 f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2); 1651 f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2);
1652#ifdef USG 1652#if defined (USG) || defined (sun) || defined (ultrix) || defined (hpux)
1653 f1 = fmod (f1, f2); 1653 f1 = fmod (f1, f2);
1654#else 1654#else
1655 f1 = drem (f1, f2); 1655 f1 = drem (f1, f2);