blob: 13a4cfa2a086fabee5728fa0fa7f06fa51c7873b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
diff --git a/src/Common/QuickFASTPch.h b/src/Common/QuickFASTPch.h
index 3574df8..c4ef4e1 100644
--- a/src/Common/QuickFASTPch.h
+++ b/src/Common/QuickFASTPch.h
@@ -32,7 +32,7 @@
#include <string.h>
// If building for .NET, must link boost threads dynamically
-#define BOOST_THREAD_USE_DLL
+// #define BOOST_THREAD_USE_DLL
// This reports at compile time which boost libraries will be used
// #define BOOST_LIB_DIAGNOSTIC
diff --git a/src/Communication/AsioService.h b/src/Communication/AsioService.h
index 4f61915..96f2198 100644
--- a/src/Communication/AsioService.h
+++ b/src/Communication/AsioService.h
@@ -99,6 +99,7 @@ namespace QuickFAST
{
return ioService_;
}
+ boost::asio::io_service::executor_type get_executor() BOOST_ASIO_NOEXCEPT { return ioService_.get_executor();}
///@brief Post a completion handler for later processing (usually in a different thread)
/// @param handler is the handler to be posted
diff --git a/src/Communication/AsioService_fwd.h b/src/Communication/AsioService_fwd.h
index dc2f235..6ad5e68 100644
--- a/src/Communication/AsioService_fwd.h
+++ b/src/Communication/AsioService_fwd.h
@@ -17,7 +17,8 @@ namespace boost
{
namespace asio
{
- class io_service;
+ class io_context;
+ typedef io_context io_service;
}
}
|