On 2009-01-21T15:42:57, Dejan Muhamedagic <[email protected]> wrote:

>  #if defined(OPENAIS_LINUX)
> -#if __WORDIZE == 64
> +#if __WORDSIZE == 64
>  #define ENDIAN_64BITWORD
>  #endif
> -#if __WORDIZE == 32
> +#if __WORDSIZE == 32
>  #define ENDIAN_32BITWORD
>  #endif
>  #else

Without this patch, it would not set any ENDIAN_64BITWORD or _32BITWORD
define on Linux, ever, and then default to using the 64bit operations
down below. One wonders if this (correct) patch then implicitly breaks
other archs.

BTW, we run powerpc in a bi-arch environment; the kernel is 64bit but
most of the user-space is 32bit. If you compiled for "just" ppc, you'd
have gotten the 32bit environment. (The 64bit arch would be ppc64.)

Did ais-keygen succeed for you?


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to