[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stegotorus/master] fix another OSX build issue >_<



commit 576f50ab3f776af861f6822f9b8b37c7f1ef0ba8
Author: Zack Weinberg <zackw@xxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits