[MacPorts] #17090: apr: duplicate case value when compiling universal i386/x86_64 or ppc/ppc64
MacPorts
noreply at macports.org
Thu Sep 17 08:10:08 PDT 2009
#17090: apr: duplicate case value when compiling universal i386/x86_64 or ppc/ppc64
---------------------------------+------------------------------------------
Reporter: pguyot@… | Owner: dluke@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.7.0
Keywords: | Port: apr
---------------------------------+------------------------------------------
Comment(by rlhamil@…):
Replying to [comment:3 10.50@…]:
> The apr.h file should be changed again to look like this:
>
{{{
> #if defined (__x86_64__)
> #define APR_SIZEOF_VOIDP 8
> #elif defined (__i386__)
> #define APR_SIZEOF_VOIDP 4
> #endif
}}}
>
> Modify as needed for PPC archs.
>
Why that and not simply
#define APR_SIZEOF_VOIDP (sizeof(void *))
--
Ticket URL: <http://trac.macports.org/ticket/17090#comment:43>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list