ppc64 packages that did not build for dist-fc7
Jakub Jelinek
jakub at redhat.com
Thu May 24 07:07:07 UTC 2007
On Thu, May 24, 2007 at 08:37:40AM +0200, Hans de Goede wrote:
> Bill Nottingham wrote:
> >ogre-1.2.5-1.fc7
>
> This failure is caused by this piece of code:
>
> /* Find the arch type */
> #if defined(__x86_64__) || defined(_M_X64)
> # define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_64
> #else
> # define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32
> #endif
>
> Which obviously needs to check for something like __ppc64__ too, can anyone
> tell me what exactly it needs to check for?
If it wants to check for LP64 architecture, then GCC 3.4 and later
defines _LP64 and __LP64__ macros on these arches.
Or you can #include <limits.h> and check LONG_MAX etc.
Jakub
More information about the Fedora-maintainers
mailing list