* [gentoo-commits] gentoo commit in src/patchsets/emacs/24.1: 03_all_x32.patch
@ 2012-06-13 11:58 Ulrich Mueller (ulm)
0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2012-06-13 11:58 UTC (permalink / raw
To: gentoo-commits
ulm 12/06/13 11:58:37
Added: 03_all_x32.patch
Log:
Fix compilation with ABI=x32, bug 420257
Revision Changes Path
1.1 src/patchsets/emacs/24.1/03_all_x32.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/24.1/03_all_x32.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/24.1/03_all_x32.patch?rev=1.1&content-type=text/plain
Index: 03_all_x32.patch
===================================================================
Fix compilation with ABI=x32.
https://bugs.gentoo.org/420257
--- emacs-24.1-orig/src/m/amdx86-64.h
+++ emacs-24.1/src/m/amdx86-64.h
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef __ILP32__ /* Don't define for x32 ABI. */
#define BITS_PER_LONG 64
#define BITS_PER_EMACS_INT 64
@@ -30,6 +31,7 @@
#define EMACS_INT long
#define pI "l"
#define EMACS_UINT unsigned long
+#endif /* __ILP32__ */
/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */
#undef DATA_SEG_BITS
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-13 11:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-13 11:58 [gentoo-commits] gentoo commit in src/patchsets/emacs/24.1: 03_all_x32.patch Ulrich Mueller (ulm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox