commit 0f854b14c7631b024a094e32fb2bb7384395c4b9 parent e1c9f17f713396129117f440155fe73c9d4563e7 Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Dec 28 22:09:11 +0200 Remove PLATFORM_*_ENDIAN because they shouldn't be used Diffstat:
platform.h | | | 14 | -------------- |
diff --git a/platform.h b/platform.h @@ -28,20 +28,6 @@ # error new compiler #endif -#if PLATFORM_UNIX -# if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ -# define PLATFORM_LITTLE_ENDIAN 1 -# elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ -# define PLATFORM_BIG_ENDIAN 1 -# else -# error "I can't tell what byte order this machine uses" -# endif -#elif PLATFORM_WINDOWS -# define PLATFORM_LITTLE_ENDIAN 1 -#else -# error new platform -#endif - #ifdef RL_TEST # define PLATFORM_RELACY 1 #endif