SOURCES: iaxclient-uint32.patch (NEW) - patch to uint32/int32 type...

Jakub Bogusz qboosh w pld-linux.org
Pią, 10 Cze 2005, 15:30:04 CEST


On Fri, Jun 10, 2005 at 12:08:39PM +0200, maho wrote:
> Author: maho                         Date: Fri Jun 10 10:08:39 2005 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - patch to uint32/int32 typedefs under 64bit platform

> +-#ifdef __alpha
> ++#if defined(__alpha) || defined(__LP64__)
                                    ^^^^^^^^
> + #ifndef int32
> +-    typedef long int32;
> ++    #ifdef _LP64
               ^^^^^
> ++		typedef int int32;
> ++    #else
> ++        typedef long int32;
> ++    #endif
> + #endif
> + #ifndef uint32
> +-    typedef unsigned long uint32;
> ++    #ifdef _LP64
               ^^^^^

Obie wersje są definiowane, ale jak używać, to już może konsekwentnie
jednej?


-- 
Jakub Bogusz    http://qboosh.cs.net.pl/



Więcej informacji o liście dyskusyjnej pld-devel-pl