diff options
author | jhuntley <jhuntley@houghtonassociates.com> | 2015-01-21 23:59:34 +0800 |
---|---|---|
committer | jhuntley <jhuntley@houghtonassociates.com> | 2015-03-05 00:17:46 +0800 |
commit | b6b80b020006e269c877faee85f6664a1cd925a0 (patch) | |
tree | 45def170676a389b1b6e9e79edac147a5e458e13 /createRandomTest.cpp | |
parent | 26ba1086b82497f9100c0283955c6ea4e742aee0 (diff) | |
download | dexon-solidity-b6b80b020006e269c877faee85f6664a1cd925a0.tar.gz dexon-solidity-b6b80b020006e269c877faee85f6664a1cd925a0.tar.zst dexon-solidity-b6b80b020006e269c877faee85f6664a1cd925a0.zip |
Avoid boost include order issue on windows:
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859
Make sure boost/asio.hpp is included before windows.h.
Diffstat (limited to 'createRandomTest.cpp')
-rw-r--r-- | createRandomTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/createRandomTest.cpp b/createRandomTest.cpp index fa5ed7bd..da1a028b 100644 --- a/createRandomTest.cpp +++ b/createRandomTest.cpp @@ -23,6 +23,7 @@ #include <string> #include <iostream> #include <chrono> +#include <boost/asio.hpp> #include <boost/random.hpp> #include <boost/filesystem/path.hpp> #pragma GCC diagnostic ignored "-Wunused-parameter" |