From 8c646bfdcf87f13ea361e3f3d97118c9ee733244 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 12 Nov 2004 22:09:17 +0000 Subject: [PATCH] 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/SDL_byteorder.h b/include/SDL_byteorder.h index 599df743e..e62d2ef39 100644 --- a/include/SDL_byteorder.h +++ b/include/SDL_byteorder.h @@ -39,7 +39,8 @@ static char rcsid = 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__)) || \