From c50320a6167cba61a8e77da9496885be6633a966 Mon Sep 17 00:00:00 2001 From: pjotrp Date: Fri, 30 Jan 2009 18:53:53 +0100 Subject: [PATCH] Default ENDIAN setting --- src/clibs/staden-io_lib-1.11.6/io_lib/os.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/clibs/staden-io_lib-1.11.6/io_lib/os.h b/src/clibs/staden-io_lib-1.11.6/io_lib/os.h index 6122ef6..01455d3 100644 --- a/src/clibs/staden-io_lib-1.11.6/io_lib/os.h +++ b/src/clibs/staden-io_lib-1.11.6/io_lib/os.h @@ -260,10 +260,6 @@ typedef int mode_t; # error Both BIG and LITTLE endian defined. Fix os.h and/or Makefile #endif -#if !defined(SP_BIG_ENDIAN) && !defined(SP_LITTLE_ENDIAN) -# error Neither BIG nor LITTLE endian defined. Fix os.h and/or Makefile -#endif - /* Override the endian settings from above using the 'configure' results. */ #if defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__) #undef SP_LITTLE_ENDIAN @@ -273,6 +269,10 @@ typedef int mode_t; #define SP_LITTLE_ENDIAN #endif +#if !defined(SP_BIG_ENDIAN) && !defined(SP_LITTLE_ENDIAN) +# error Neither BIG nor LITTLE endian defined. Fix os.h and/or Makefile +#endif + /*