From 80a97d01ba21df6d06ca750789bfe0bbacaaee4a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 20 Apr 2022 20:49:04 +0200 Subject: Allow tests to be run on Windows. --- test/decryption_test.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/decryption_test.cc') 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 +#ifndef M_PI +#define M_PI (3.14159265358979323846) +#endif + + using std::dynamic_pointer_cast; using std::make_pair; using std::make_shared; -- cgit v1.2.3