Skip to content

Instantly share code, notes, and snippets.

@vinniefalco
Created October 12, 2019 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinniefalco/0beb9e5ce6f6b154a17329ac00896033 to your computer and use it in GitHub Desktop.
Save vinniefalco/0beb9e5ce6f6b154a17329ac00896033 to your computer and use it in GitHub Desktop.
#if defined(GENERATING_DOCUMENTATION)
# define BOOST_JSON_DECL
#elif defined(BOOST_JSON_HEADER_ONLY)
# define BOOST_JSON_DECL inline
#else
# if (defined(BOOST_JSON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_JSON_STATIC_LINK)
# if defined(BOOST_JSON_SOURCE)
# define BOOST_JSON_DECL BOOST_SYMBOL_EXPORT
# define BOOST_JSON_BUILD_DLL
# else
# define BOOST_JSON_DECL BOOST_SYMBOL_IMPORT
# endif
# endif // shared lib
# ifndef BOOST_JSON_DECL
# define BOOST_JSON_DECL
# endif
# if !defined(BOOST_JSON_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_JSON_NO_LIB)
# define BOOST_LIB_NAME boost_json
# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_JSON_DYN_LINK)
# define BOOST_DYN_LINK
# endif
# include <boost/config/auto_link.hpp>
# endif // auto-linking disabled
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment