commit 576f50ab3f776af861f6822f9b8b37c7f1ef0ba8 Author: Zack Weinberg zackw@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. */
tor-commits@lists.torproject.org