medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 1089dad5b134b3baa22bc752b7918b925ac8b3e1
parent 19835b2c65fad7772cc631fdaa25270d40ee22f9
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Sep 15 01:53:14 +0100

Add PLATFORM_RELACY to platform.h

Diffstat:
platform.h | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/platform.h b/platform.h @@ -28,4 +28,22 @@ # 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 + #endif // _PLATFORM_H_