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
slouken@293
     1
slouken@293
     2
#ifndef _SDLname_h_
slouken@293
     3
#define _SDLname_h_
slouken@293
     4
slouken@293
     5
#if defined(__STDC__) || defined(__cplusplus)
slouken@293
     6
#define NeedFunctionPrototypes 1
slouken@293
     7
#endif
slouken@293
     8
slouken@293
     9
#define SDL_NAME(X)	SDL_##X
slouken@293
    10
slouken@293
    11
#endif /* _SDLname_h_ */