Move BOOST_SYSTEM_SOURCE definition to src/error_code.cpp so that automatic library variant selection is enabled.

This commit is contained in:
Beman committed 2014-01-06 16:52:15 -05:00
1 parent 42ee65f745
commit 459160d184
2 files changed
+4 -4

No files matched your search

@@ -11,10 +11,6 @@
#include <boost/config/warning_disable.hpp>
// define BOOST_SYSTEM_SOURCE so that <boost/system/config.hpp> knows
// the library is being built (possibly exporting rather than importing code)
#define BOOST_SYSTEM_SOURCE
#include <boost/system/config.hpp>
#include <boost/system/error_code.hpp>
#include <boost/cerrno.hpp>