1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/graphics/inventor/files/patch-SoOutput.c++
Pietro Cerutti 6d73d3b156 - fix build on amd64, enable that platform
PR:		157704
Submitted by:	gahr@FreeBSD.org
Approved by:	Christian Gusenbauer <c47g@gmx.at> (maintainer)
2011-06-08 15:26:57 +00:00

12 lines
434 B
C++

--- lib/database/src/so/SoOutput.c++.orig 2011-06-08 14:31:06.000000000 +0200
+++ lib/database/src/so/SoOutput.c++ 2011-06-08 14:31:15.000000000 +0200
@@ -1462,7 +1462,7 @@
// Generates a CC warning. Ho hum.
if (refDict->find((unsigned long) base, ref))
-#if (_MIPS_SZPTR == 64 || __ia64)
+#if (_MIPS_SZPTR == 64 || __ia64 || __amd64__)
referenceId = (int) ((unsigned long) ref);
#else
referenceId = (int)ref;