From a611e1e4dad81cde86165844b4cd078799f3f10d Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 14 Jun 2015 11:57:55 +0200 Subject: Fix conflict with 'final' define when including openssl/evp.h. --- test/lv2_test_host.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/lv2_test_host.cc b/test/lv2_test_host.cc index 07685d0..927f94c 100644 --- a/test/lv2_test_host.cc +++ b/test/lv2_test_host.cc @@ -40,7 +40,17 @@ // #include #include -#include + +#ifdef final +// final is used as variable name in evp.h so we need to undef it before we +// include it. + #undef final + #include + #define final +#else + #include +#endif + #include class Base64 { public: -- cgit v1.2.3