[tor-commits] [stegotorus/master] Temporarily comment out some code not supported by Apple's gcc.
zwol at torproject.org
zwol at torproject.org
Fri Jul 20 23:17:07 UTC 2012
commit 25d5751d8effeafa50a628e1e78e3ca95aff2051
Author: Zack Weinberg <zackw at cmu.edu>
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;
More information about the tor-commits
mailing list