about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/alpha/divrem.m43
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 81c0273e46..6bebbdf44d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Thu Mar  9 17:16:53 1995  Brendan Kehoe  (brendan@zen.org)
 
+	* sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
+	that's used inside the alpha sysdep.h.
+
 	* sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
 	keyword.
 	* sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
diff --git a/sysdeps/alpha/divrem.m4 b/sysdeps/alpha/divrem.m4
index 5942cf447f..d2f36383cb 100644
--- a/sysdeps/alpha/divrem.m4
+++ b/sysdeps/alpha/divrem.m4
@@ -14,6 +14,9 @@
 #endif
 #include <sysdep.h>
 
+/* Avoid the definition of ret that we set in the alpha sysdep.h.  */
+#undef ret
+
 define(path, `SYSDEP_DIR/macros.m4')dnl
 include(path)