So, previously¹ I suggested this change, to make the OpenBSD builds²
progress a little further:
On Thu, 11 Nov 2010 22:05:58 +0100, Adam wrote:
-#if defined(__FreeBSD__) && (defined(__alpha__) ||
defined(_LP64))
+#if (defined(__FreeBSD__) && (defined(__alpha__) || defined(_LP64))) ||
(defined(__OpenBSD__) && defined(_LP64))
[...]
(I am merely guessing; I have no clue, so don't hesitate to hit
me with
a cluebat.)
Didn't quite gather any comments. So maybe this is more like it:
--- a/src/unexelf.c Tue Nov 02 20:19:39 2010 +0100
+++ b/src/unexelf.c Tue Nov 16 21:40:23 2010 +0100
@@ -491,10 +491,18 @@
#endif
#ifndef ElfW
-# ifdef __STDC__
-# define ElfW(type) Elf32_##type
+# ifdef _LP64
+# ifdef __STDC__
+# define ElfW(type) Elf64_##type
+# else
+# define ElfW(type) Elf64_/**/type
+# endif
# else
-# define ElfW(type) Elf32_/**/type
+# ifdef __STDC__
+# define ElfW(type) Elf32_##type
+# else
+# define ElfW(type) Elf32_/**/type
+# endif
# endif
#endif
?
Best regards,
Adam
¹
http://article.gmane.org/gmane.emacs.xemacs.beta/33925
²
http://lidell.nu/xemacs-buildbot/builders/amd64%20openbsd%20cfg3/builds/3
--
"Right. Why waste time learning, Adam Sjøgren
when ignorance is instantaneous?" asjo(a)koldfront.dk
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta