freebsd-ports/archivers/epkg/files/patch-lib_platform.c
Renato Botelho 43cedacb93 Fix build on ia64
PR:		ports/102937
Submitted by:	pirzyk (maintainer)
2006-09-06 15:28:20 +00:00

11 lines
327 B
C

--- ./lib/platform.c.orig Wed Apr 21 11:00:26 2004
+++ ./lib/platform.c Wed Sep 6 08:32:24 2006
@@ -213,7 +213,7 @@
*/
if (strcmp(ut.sysname, "AIX") == 0)
{
-#ifdef __ia64
+#if defined __ia64 && defined _AIX
if (__ia64())
strlcpy(archbuf, "ia64", sizeof(archbuf));
else /* if (__power_pc() || __power_rs()) */