[tor-commits] [stegotorus/master] fix another OSX build issue >_<
zwol at torproject.org
zwol at torproject.org
Fri Jul 20 23:17:07 UTC 2012
commit 576f50ab3f776af861f6822f9b8b37c7f1ef0ba8
Author: Zack Weinberg <zackw at cmu.edu>
Date: Tue Mar 20 20:47:23 2012 -0700
fix another OSX build issue >_<
---
src/rng.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/rng.cc b/src/rng.cc
index f5c0ca4..4901c33 100644
--- a/src/rng.cc
+++ b/src/rng.cc
@@ -9,6 +9,9 @@
#include <math.h>
#include <cryptopp/osrng.h>
+/* not sure why, but on OSX we only see std::isnan, not ::isnan */
+using std::isnan;
+
/* Note: this file wraps a C++ library into a C-style program and must
insulate that program from C++ semantics it is not prepared to handle;
most importantly, all exceptions must be converted to error codes. */
More information about the tor-commits
mailing list