Last active
September 30, 2015 08:30
-
-
Save hgaiser/e38157a94d1fe586b093 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/third_party/s2/util/endian/endian.h b/src/third_party/s2/util/endian/endian.h | |
index 9def73f..5b90e0a 100755 | |
--- a/src/third_party/s2/util/endian/endian.h | |
+++ b/src/third_party/s2/util/endian/endian.h | |
@@ -178,14 +178,10 @@ class LittleEndian { | |
}; | |
-// This one is safe to take as it's an extension | |
-#define htonll(x) ghtonll(x) | |
- | |
// ntoh* and hton* are the same thing for any size and bytesex, | |
// since the function is an involution, i.e., its own inverse. | |
#define gntohl(x) ghtonl(x) | |
#define gntohs(x) ghtons(x) | |
#define gntohll(x) ghtonll(x) | |
-#define ntohll(x) htonll(x) | |
#endif // UTIL_ENDIAN_ENDIAN_H_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment