build: remove LEVELDB_IS_BIG_ENDIAN

This commit is contained in:
fanquake 2024-08-28 15:28:30 +01:00
parent 9ec64253ab
commit 910a11fa66
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -60,7 +60,6 @@ target_compile_definitions(leveldb
HAVE_FULLFSYNC=$<BOOL:${HAVE_FULLFSYNC}>
HAVE_O_CLOEXEC=$<BOOL:${HAVE_O_CLOEXEC}>
FALLTHROUGH_INTENDED=[[fallthrough]]
LEVELDB_IS_BIG_ENDIAN=$<STREQUAL:${CMAKE_CXX_BYTE_ORDER},BIG_ENDIAN>
$<$<NOT:$<BOOL:${WIN32}>>:LEVELDB_PLATFORM_POSIX>
$<$<BOOL:${WIN32}>:LEVELDB_PLATFORM_WINDOWS>
$<$<BOOL:${WIN32}>:_UNICODE;UNICODE>