mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
Add SDL_FLOATWORDORDER for older ARM toolchains
This commit is contained in:
committed by
Sam Lantinga
parent
adac3bd1e2
commit
b398a847be
@@ -66,9 +66,10 @@ typedef unsigned int u_int32_t;
|
||||
* Math on arm is special:
|
||||
* For FPA, float words are always big-endian.
|
||||
* For VFP, floats words follow the memory system mode.
|
||||
* For Maverick, float words are always little-endian.
|
||||
*/
|
||||
|
||||
#if (SDL_BYTEORDER == SDL_BIG_ENDIAN)
|
||||
#if (SDL_FLOATWORDORDER == SDL_BIG_ENDIAN)
|
||||
|
||||
typedef union
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user