summaryrefslogtreecommitdiff
path: root/port
diff options
context:
space:
mode:
authorcostan <costan@google.com>2018-04-10 16:12:14 -0700
committerVictor Costan <pwnall@chromium.org>2018-04-10 16:26:27 -0700
commit6a3b915166fce75aaf9ac209114a3ad9caa34171 (patch)
treed5dfc34ed0e1e840e0abed6d1094535763088118 /port
parent260655b4c294991fe03bf6ab8b6d722ccfc41d32 (diff)
downloadleveldb-6a3b915166fce75aaf9ac209114a3ad9caa34171.tar.gz
Remove PLATFORM_IS_LITTLE_ENDIAN from port/posix.h.
This is an accidental leftover from the CMake migration. The macro has been replaced with LEVELDB_IS_BIG_ENDIAN. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=192364918
Diffstat (limited to 'port')
-rw-r--r--port/port_posix.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/port/port_posix.h b/port/port_posix.h
index 2fb2269..54b07b6 100644
--- a/port/port_posix.h
+++ b/port/port_posix.h
@@ -36,10 +36,6 @@
#include "port/atomic_pointer.h"
#include "port/thread_annotations.h"
-#ifndef PLATFORM_IS_LITTLE_ENDIAN
-#define PLATFORM_IS_LITTLE_ENDIAN (__BYTE_ORDER == __LITTLE_ENDIAN)
-#endif
-
#if !HAVE_FDATASYNC
#define fdatasync fsync
#endif // !HAVE_FDATASYNC