changeset 969:cfb9518670f4

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.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 12 Nov 2004 22:09:17 +0000
parents 4675910b0b7b
children fb8b91365766
files include/SDL_byteorder.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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__)) || \