mirror of
https://github.com/google/leveldb.git
synced 2025-02-04 07:10:10 +08:00
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
This commit is contained in:
parent
260655b4c2
commit
6a3b915166
@ -36,10 +36,6 @@
|
|||||||
#include "port/atomic_pointer.h"
|
#include "port/atomic_pointer.h"
|
||||||
#include "port/thread_annotations.h"
|
#include "port/thread_annotations.h"
|
||||||
|
|
||||||
#ifndef PLATFORM_IS_LITTLE_ENDIAN
|
|
||||||
#define PLATFORM_IS_LITTLE_ENDIAN (__BYTE_ORDER == __LITTLE_ENDIAN)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !HAVE_FDATASYNC
|
#if !HAVE_FDATASYNC
|
||||||
#define fdatasync fsync
|
#define fdatasync fsync
|
||||||
#endif // !HAVE_FDATASYNC
|
#endif // !HAVE_FDATASYNC
|
||||||
|
Loading…
Reference in New Issue
Block a user