Date: Wed, 13 Oct 2004 17:00:58 -0500
authorSam Lantinga <slouken@libsdl.org>
Fri, 12 Nov 2004 22:09:17 +0000
changeset 969cfb9518670f4
parent 968 4675910b0b7b
child 970 fb8b91365766
Date: Wed, 13 Oct 2004 17:00:58 -0500
From: Jonathan Atkins
Subject: [Fwd: Re: SDL_image on Solaris x86 help please]

apparently __i386__ is insufficient for Suns C Workshop compilers...
so a sun x86 user told me about this...and tested his own solution.
I think it wouldn't be a bad idea to add __i386 to the SDL_byteorder.h
so that it works for that compiler.
include/SDL_byteorder.h
     1.1 --- a/include/SDL_byteorder.h	Fri Nov 12 21:39:04 2004 +0000
     1.2 +++ b/include/SDL_byteorder.h	Fri Nov 12 22:09:17 2004 +0000
     1.3 @@ -39,7 +39,8 @@
     1.4     script so that application code can use this too.  The "right" way would
     1.5     be to dynamically generate this file on install, but that's a lot of work.
     1.6   */
     1.7 -#if  defined(__i386__) || defined(__ia64__) || defined(WIN32) || \
     1.8 +#if (defined(__i386__) || defined(__i386)) || \
     1.9 +     defined(__ia64__) || defined(WIN32) || \
    1.10      (defined(__alpha__) || defined(__alpha)) || \
    1.11       defined(__arm__) || \
    1.12      (defined(__mips__) && defined(__MIPSEL__)) || \