We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074a41c commit 3e0927fCopy full SHA for 3e0927f
src/ordered-binary.cpp
@@ -35,7 +35,7 @@ int compareFast(const MDB_val *a, const MDB_val *b) {
35
} else {
36
aVal = ntohl(*dataA);
37
fprintf(stderr, "compare");
38
- #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+ #if defined(__BYTE_ORDER__)&&(__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
39
fprintf(stderr, "big endian");
40
bVal = remaining == 2 ? *dataB & 0xffff0000 : *dataB & 0xffffff00;
41
#else
0 commit comments