Add SDL_FLOATWORDORDER for older ARM toolchains

This commit is contained in:
Cameron Cawley
2022-05-04 09:52:11 -07:00
committed by Sam Lantinga
parent adac3bd1e2
commit b398a847be
4 changed files with 66 additions and 1 deletions
+2 -1
View File
@@ -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
{