Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
21760bc6
Commit
21760bc6
authored
Jul 18, 2010
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RedHat patch: SDL-1.2.14-byteorder.patch
parent
5ae90a3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
SDL_endian.h
include/SDL_endian.h
+5
-0
No files found.
include/SDL_endian.h
View file @
21760bc6
...
@@ -40,6 +40,10 @@
...
@@ -40,6 +40,10 @@
/*@}*/
/*@}*/
#ifndef SDL_BYTEORDER
/* Not defined in SDL_config.h? */
#ifndef SDL_BYTEORDER
/* Not defined in SDL_config.h? */
#ifdef __linux__
#include <endian.h>
#define SDL_BYTEORDER __BYTE_ORDER
#else
/* __linux __ */
#if defined(__hppa__) || \
#if defined(__hppa__) || \
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
(defined(__MIPS__) && defined(__MISPEB__)) || \
(defined(__MIPS__) && defined(__MISPEB__)) || \
...
@@ -49,6 +53,7 @@
...
@@ -49,6 +53,7 @@
#else
#else
#define SDL_BYTEORDER SDL_LIL_ENDIAN
#define SDL_BYTEORDER SDL_LIL_ENDIAN
#endif
#endif
#endif
/* __linux __ */
#endif
/* !SDL_BYTEORDER */
#endif
/* !SDL_BYTEORDER */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment