# HG changeset patch # User Sam Lantinga # Date 1100297357 0 # Node ID cfb9518670f4a43f2196efa269ea9f87b2dbc07c # Parent 4675910b0b7b95a98a5ef4c929635410ac9878a1 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. diff -r 4675910b0b7b -r cfb9518670f4 include/SDL_byteorder.h --- a/include/SDL_byteorder.h Fri Nov 12 21:39:04 2004 +0000 +++ b/include/SDL_byteorder.h Fri Nov 12 22:09:17 2004 +0000 @@ -39,7 +39,8 @@ script so that application code can use this too. The "right" way would be to dynamically generate this file on install, but that's a lot of work. */ -#if defined(__i386__) || defined(__ia64__) || defined(WIN32) || \ +#if (defined(__i386__) || defined(__i386)) || \ + defined(__ia64__) || defined(WIN32) || \ (defined(__alpha__) || defined(__alpha)) || \ defined(__arm__) || \ (defined(__mips__) && defined(__MIPSEL__)) || \