diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-03-13 00:04:57 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-03-13 00:04:57 +0800 |
commit | 91f340fbe073394db064cb97a88ccc95717d052a (patch) | |
tree | 67051cf0c133d9af27a713b533a6965ac4eb4c93 /include | |
parent | 21aaf2fec7657104e54d14390fd5e3b9045c4faf (diff) | |
download | pttbbs-91f340fbe073394db064cb97a88ccc95717d052a.tar pttbbs-91f340fbe073394db064cb97a88ccc95717d052a.tar.gz pttbbs-91f340fbe073394db064cb97a88ccc95717d052a.tar.bz2 pttbbs-91f340fbe073394db064cb97a88ccc95717d052a.tar.lz pttbbs-91f340fbe073394db064cb97a88ccc95717d052a.tar.xz pttbbs-91f340fbe073394db064cb97a88ccc95717d052a.tar.zst pttbbs-91f340fbe073394db064cb97a88ccc95717d052a.zip |
don't need to detect endian anymore, remove it.
(it is annoying to get _LITTLE_ENDIAN redefined warnings if include sys/types.h on FreeBSD)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3278 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/osdep.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/osdep.h b/include/osdep.h index 73eff289..117574c5 100644 --- a/include/osdep.h +++ b/include/osdep.h @@ -15,12 +15,6 @@ #define _XOPEN_SOURCE #define _ISOC99_SOURCE - #if BYTE_ORDER == BIG_ENDIAN - #define _BIG_ENDIAN - #else - #define _LITTLE_ENDIAN - #endif - #define HAVE_SETPROCTITLE #elif defined(__linux__) @@ -30,13 +24,6 @@ #include <sys/ioctl.h> #include <sys/file.h> /* for flock() */ #include <strings.h> /* for strcasecmp() */ - #include <endian.h> /* for __BYTE_ORDER */ - - #if __BYTE_ORDER == __BIG_ENDIAN - #define _BIG_ENDIAN - #else - #define _LITTLE_ENDIAN - #endif #define NEED_STRCASESTR #define NEED_STRLCPY |