1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Unbreak boehm-gc on 32bit platforms.

Submitted by:		Ryan Beasley <ryanb@goddamnbastard.org>
pointy hat^2 to:	arved
This commit is contained in:
Tilman Keskinoz 2004-05-08 10:54:50 +00:00
parent 87078497ef
commit 8c3b62b377
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108687

View File

@ -5,7 +5,7 @@
* define it similarly for any ELF systems that don't. */
# ifndef ElfW
+#ifdef __FreeBSD__
+#if ELFSIZE == 32
+#if __ELF_WORD_SIZE == 32
+#define ElfW(type) Elf32_##type
+#else
+#define ElfW(type) Elf64_##type