summaryrefslogtreecommitdiff
path: root/src/mongo/platform
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2016-01-15 15:41:48 -0500
committerTess Avitabile <tess.avitabile@mongodb.com>2016-01-22 09:19:35 -0500
commit5919422e0e004e32cbd9a3cecb2a3daff53bbc76 (patch)
treeedc8512e05a2c75cb4d6c581432cb67842d4613f /src/mongo/platform
parentf73316532f829cd6dd95f8fdfe440e3c5d7e7fd1 (diff)
downloadmongo-5919422e0e004e32cbd9a3cecb2a3daff53bbc76.tar.gz
SERVER-21467 Do not reverse byte order of GeoHash data on big-endian systems
Diffstat (limited to 'src/mongo/platform')
-rw-r--r--src/mongo/platform/endian.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/platform/endian.h b/src/mongo/platform/endian.h
index dcd6b91baca..72c287b12c2 100644
--- a/src/mongo/platform/endian.h
+++ b/src/mongo/platform/endian.h
@@ -38,8 +38,6 @@
#pragma push_macro("MONGO_UINT16_SWAB")
#pragma push_macro("MONGO_UINT32_SWAB")
#pragma push_macro("MONGO_UINT64_SWAB")
-#pragma push_macro("MONGO_LITTLE_ENDIAN")
-#pragma push_macro("MONGO_BIG_ENDIAN")
#pragma push_macro("htobe16")
#pragma push_macro("htobe32")
#pragma push_macro("htobe64")
@@ -56,8 +54,6 @@
#undef MONGO_UINT16_SWAB
#undef MONGO_UINT32_SWAB
#undef MONGO_UINT64_SWAB
-#undef MONGO_LITTLE_ENDIAN
-#undef MONGO_BIG_ENDIAN
#undef htobe16
#undef htobe32
#undef htobe64
@@ -511,8 +507,6 @@ inline T littleToNative(T t) {
#undef MONGO_UINT16_SWAB
#undef MONGO_UINT32_SWAB
#undef MONGO_UINT64_SWAB
-#undef MONGO_LITTLE_ENDIAN
-#undef MONGO_BIG_ENDIAN
#undef htobe16
#undef htobe32
#undef htobe64
@@ -529,8 +523,6 @@ inline T littleToNative(T t) {
#pragma pop_macro("MONGO_UINT16_SWAB")
#pragma pop_macro("MONGO_UINT32_SWAB")
#pragma pop_macro("MONGO_UINT64_SWAB")
-#pragma pop_macro("MONGO_LITTLE_ENDIAN")
-#pragma pop_macro("MONGO_BIG_ENDIAN")
#pragma pop_macro("htobe16")
#pragma pop_macro("htobe32")
#pragma pop_macro("htobe64")