include/SDL_byteorder.h
changeset 1354 22f39393668a
parent 1353 7ba544e2888d
child 4159 a1b03ba2fcd0
     1.1 --- a/include/SDL_byteorder.h	Thu Feb 09 09:07:13 2006 +0000
     1.2 +++ b/include/SDL_byteorder.h	Thu Feb 09 09:38:05 2006 +0000
     1.3 @@ -20,29 +20,5 @@
     1.4      slouken@libsdl.org
     1.5  */
     1.6  
     1.7 -/* Macros for determining the byte-order of this platform */
     1.8 -
     1.9 -#ifndef _SDL_byteorder_h
    1.10 -#define _SDL_byteorder_h
    1.11 -
    1.12 -#include "SDL_config.h"
    1.13 -
    1.14 -/* The two types of endianness */
    1.15 -#define SDL_LIL_ENDIAN	1234
    1.16 -#define SDL_BIG_ENDIAN	4321
    1.17 -
    1.18 -#ifndef SDL_BYTEORDER	/* Not defined in SDL_config.h? */
    1.19 -#if (defined(__i386__) || defined(__i386)) || \
    1.20 -     defined(__ia64__) || defined(__x86_64__) || \
    1.21 -    (defined(__alpha__) || defined(__alpha)) || \
    1.22 -    (defined(__arm__) || defined(__thumb__)) || \
    1.23 -    (defined(__sh__) || defined(__sh64__)) || \
    1.24 -    (defined(__mips__) && defined(__MIPSEL__)) || \
    1.25 -     defined(__SYMBIAN32__) || defined(__OS2__)
    1.26 -#define SDL_BYTEORDER	SDL_LIL_ENDIAN
    1.27 -#else
    1.28 -#define SDL_BYTEORDER	SDL_BIG_ENDIAN
    1.29 -#endif
    1.30 -#endif /* !SDL_BYTEORDER */
    1.31 -
    1.32 -#endif /* _SDL_byteorder_h */
    1.33 +/* DEPRECATED */
    1.34 +#include "SDL_endian.h"