From 82786ef70be906d58dc61afa4738c5f52d7f68bf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 12 Jun 2004 08:16:02 +0000 Subject: [PATCH] ENDIAN_LITTLE/ENDIAN_BIG check --- stepmania/src/global.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/global.h b/stepmania/src/global.h index 74cfcc67f6..76bad0fca1 100644 --- a/stepmania/src/global.h +++ b/stepmania/src/global.h @@ -27,6 +27,10 @@ #include "archutils/Unix/arch_setup.h" #endif +#if !defined(ENDIAN_LITTLE) && !defined(ENDIAN_BIG) +#error Neither ENDIAN_LITTLE nor ENDIAN_BIG defined +#endif + /* Make sure everyone has min and max: */ #include