[MacPorts] #17090: apr: duplicate case value when compiling universal i386/x86_64 or ppc/ppc64

MacPorts noreply at macports.org
Thu Sep 17 08:29:39 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:43 rlhamil@…]:

 > Why that and not simply
 >
 > #define APR_SIZEOF_VOIDP (sizeof(void *))


 Oops, I see now that won't work, sizeof() not being valid in a
 preprocessor conditional.  That too could be worked around, except that
 they don't always include stdint.h (older platforms?) and so they can't
 count on having uintptr_t later on.

 Old platforms stink...

-- 
Ticket URL: <http://trac.macports.org/ticket/17090#comment:44>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list