Define macro for boost >= 1.66

This commit is contained in:
Florian Gossin 2020-05-04 14:31:45 +02:00
parent f9d54f9c74
commit bd2e9f3205

View File

@ -6,6 +6,10 @@
#ifndef _curecoinRPC_H_ #ifndef _curecoinRPC_H_
#define _curecoinRPC_H_ 1 #define _curecoinRPC_H_ 1
#if BOOST_VERSION >= 106600
#define BOOST_ASIO_ENABLE_OLD_SERVICES
#endif
#include <string> #include <string>
#include <list> #include <list>
#include <map> #include <map>