Skip to content

Commit 3e0927f

Browse files
committed
Debugging
1 parent 074a41c commit 3e0927f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ordered-binary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int compareFast(const MDB_val *a, const MDB_val *b) {
3535
} else {
3636
aVal = ntohl(*dataA);
3737
fprintf(stderr, "compare");
38-
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
38+
#if defined(__BYTE_ORDER__)&&(__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
3939
fprintf(stderr, "big endian");
4040
bVal = remaining == 2 ? *dataB & 0xffff0000 : *dataB & 0xffffff00;
4141
#else

0 commit comments

Comments
 (0)