Skip to content

Commit

Permalink
Default ENDIAN setting
Browse files Browse the repository at this point in the history
  • Loading branch information
pjotrp committed Jan 30, 2009
1 parent 0caed25 commit c50320a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/clibs/staden-io_lib-1.11.6/io_lib/os.h
Expand Up @@ -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
Expand All @@ -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



/*
Expand Down

0 comments on commit c50320a

Please sign in to comment.