include/SDL_endian.h
changeset 1985 8055185ae4ed
parent 1984 b910bcabec26
child 2698 e1da92da346c
child 2859 99210400e8b9
     1.1 --- a/include/SDL_endian.h	Thu Aug 24 12:49:59 2006 +0000
     1.2 +++ b/include/SDL_endian.h	Mon Aug 28 03:17:39 2006 +0000
     1.3 @@ -195,7 +195,11 @@
     1.4  static __inline__ float
     1.5  SDL_SwapFloat(float x)
     1.6  {
     1.7 -    union { float f; Uint32 ui32; } swapper;
     1.8 +    union
     1.9 +    {
    1.10 +        float f;
    1.11 +        Uint32 ui32;
    1.12 +    } swapper;
    1.13      swapper.f = x;
    1.14      swapper.ui32 = SDL_Swap32(swapper.ui32);
    1.15      return swapper.f;