From 96320384ccd4c16afddb92e9ff075a1cc26c18ff Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 17 Sep 2018 17:08:25 +0300 Subject: [PATCH] Revert unnecessary changes to error_code.cpp --- src/error_code.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/error_code.cpp b/src/error_code.cpp index d451940..b86a38c 100644 --- a/src/error_code.cpp +++ b/src/error_code.cpp @@ -10,13 +10,11 @@ //----------------------------------------------------------------------------// -#include +// define BOOST_SYSTEM_SOURCE so that knows +// the library is being built (possibly exporting rather than importing code) +#define BOOST_SYSTEM_SOURCE -#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SYSTEM_DYN_LINK) -# define BOOST_SYSTEM_DECL BOOST_SYMBOL_EXPORT -#else -# define BOOST_SYSTEM_DECL -#endif +#include namespace boost {