1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/japanese/emacs-emcws/files/patch-src:alloc.c
Munechika SUMIKAWA 8bf7847733 Sync with editors/emacs: Make compilable on amd64.
Submitted by:	NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
2004-03-22 11:14:12 +00:00

15 lines
398 B
C

--- src/alloc.c.orig Thu Sep 12 13:50:01 2002
+++ src/alloc.c Thu Sep 12 13:48:11 2002
@@ -3723,7 +3723,11 @@
/* This trick flushes the register windows so that all the state of
the process is contained in the stack. */
#ifdef sparc
+#ifdef __sparc64__
+ asm ("flushw");
+#else
asm ("ta 3");
+#endif
#endif
/* Save registers that we need to see on the stack. We need to see