summaryrefslogtreecommitdiff
path: root/test/decryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-20 20:49:04 +0200
committerCarl Hetherington <cth@carlh.net>2022-05-04 19:37:38 +0200
commit80a97d01ba21df6d06ca750789bfe0bbacaaee4a (patch)
tree8a42399a2bd5b27eb9252ae574427100a2a556f3 /test/decryption_test.cc
parentdf504d64b878a409d469df8a166558919e3c2afb (diff)
Allow tests to be run on Windows.
Diffstat (limited to 'test/decryption_test.cc')
-rw-r--r--test/decryption_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/decryption_test.cc b/test/decryption_test.cc
index eb305c6a..ce5aeece 100644
--- a/test/decryption_test.cc
+++ b/test/decryption_test.cc
@@ -57,6 +57,11 @@
#include <boost/scoped_array.hpp>
+#ifndef M_PI
+#define M_PI (3.14159265358979323846)
+#endif
+
+
using std::dynamic_pointer_cast;
using std::make_pair;
using std::make_shared;