include/SDL_name.h
author Ryan C. Gordon
Thu, 08 Sep 2005 06:49:20 +0000
changeset 1137 0f9d463bf09c
parent 294 d2d48e10f370
child 7191 75360622e65f
permissions -rw-r--r--
Byte order detection fixes in SDL_endian.h ...

--ryan.




From: Mike Frysinger <vapier@gentoo.org>
To: sdl@libsdl.org
Date: Thu, 1 Sep 2005 20:25:01 -0400
Subject: [SDL] [patch] add support for arm/thumb and superh to endian

find attached a patch to add support for detecting endian on superh and
arm/thumb ... also, ive incorporated a patch from Fedora which will gather
the correct endian on a linux host from the system endian.h instead of just
trying to maintain an ever-growing list of architectures
-mike
     1 
     2 #ifndef _SDLname_h_
     3 #define _SDLname_h_
     4 
     5 #if defined(__STDC__) || defined(__cplusplus)
     6 #define NeedFunctionPrototypes 1
     7 #endif
     8 
     9 #define SDL_NAME(X)	SDL_##X
    10 
    11 #endif /* _SDLname_h_ */