Include the Win32 module loading implementation

This commit is contained in:
Robbert van der Helm
2020-12-02 18:01:56 +01:00
parent a4af1a2535
commit 9291ae7e42
4 changed files with 8 additions and 1 deletions
+4
View File
@@ -23,11 +23,13 @@
// it's running under a WIN32 environment. If anyone knows a better way to do
// this, please let me know!
#pragma push_macro("__MINGW32__")
#pragma push_macro("WIN32")
#pragma push_macro("_WIN32")
#pragma push_macro("__WIN32__")
#pragma push_macro("_WIN64")
#undef __MINGW32__
#undef WIN32
#undef _WIN32
#undef __WIN32__
@@ -38,9 +40,11 @@
// included here, but including headers from the detail directory directly
// didn't sound like a great idea.
#include <boost/predef.h>
#include <boost/asio/basic_socket_streambuf.hpp>
// #include <boost/asio/detail/timer_queue_ptime.hpp>
#pragma pop_macro("__MINGW32__")
#pragma pop_macro("WIN32")
#pragma pop_macro("_WIN32")
#pragma pop_macro("__WIN32__")