[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stegotorus/master] Temporarily comment out some code not supported by Apple's gcc.
commit 25d5751d8effeafa50a628e1e78e3ca95aff2051
Author: Zack Weinberg <zackw@xxxxxxx>
Date: Tue Mar 27 21:33:11 2012 -0700
Temporarily comment out some code not supported by Apple's gcc.
---
src/rng.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/rng.cc b/src/rng.cc
index 86a55c1..149363e 100644
--- a/src/rng.cc
+++ b/src/rng.cc
@@ -128,8 +128,10 @@ rng_double()
unsigned int n;
};
+#if 0
static_assert(sizeof(double) == sizeof(uint64_t),
"this code works only with 64-bit, IEEE double");
+#endif
union ieee754_double {
double d;
uint64_t i;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits