summaryrefslogtreecommitdiff
path: root/stdlib/getenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/getenv.c')
-rw-r--r--stdlib/getenv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/stdlib/getenv.c b/stdlib/getenv.c
index ee9d2b39d9..f33c22f440 100644
--- a/stdlib/getenv.c
+++ b/stdlib/getenv.c
@@ -48,11 +48,7 @@ getenv (name)
#if __BYTE_ORDER == __LITTLE_ENDIAN || !_STRING_ARCH_unaligned
name_start = ('=' << 8) | *(const unsigned char *) name;
#else
-# if __BYTE_ORDER == __BIG_ENDIAN
name_start = '=' | ((*(const unsigned char *) name) << 8);
-# else
- #error "Funny byte order."
-# endif
#endif
for (ep = __environ; *ep != NULL; ++ep)
{