diff options
Diffstat (limited to 'libodb-boost/odb/boost/details/export.hxx')
-rw-r--r-- | libodb-boost/odb/boost/details/export.hxx | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/libodb-boost/odb/boost/details/export.hxx b/libodb-boost/odb/boost/details/export.hxx index cb3b219..fa4e53c 100644 --- a/libodb-boost/odb/boost/details/export.hxx +++ b/libodb-boost/odb/boost/details/export.hxx @@ -6,7 +6,7 @@ #include <odb/pre.hxx> -#include <odb/boost/details/config.hxx> +#include <odb/boost/details/config.hxx> // LIBODB_BOOST_STATIC if ODB_COMPILER // Normally we don't export class templates (but do complete specializations), // inline functions, and classes with only inline member functions. Exporting @@ -16,8 +16,6 @@ // used before their inline definition. The workaround is to reorder code. In // the end it's all trial and error. -#ifdef LIBODB_BOOST_BUILD2 - #if defined(LIBODB_BOOST_STATIC) // Using static. # define LIBODB_BOOST_EXPORT #elif defined(LIBODB_BOOST_STATIC_BUILD) // Building static. @@ -43,36 +41,6 @@ # define LIBODB_BOOST_EXPORT // Using static or shared. #endif -#else // LIBODB_BOOST_BUILD2 - -#ifdef LIBODB_BOOST_STATIC_LIB -# define LIBODB_BOOST_EXPORT -#else -# ifdef _WIN32 -# ifdef _MSC_VER -# ifdef LIBODB_BOOST_DYNAMIC_LIB -# define LIBODB_BOOST_EXPORT __declspec(dllexport) -# else -# define LIBODB_BOOST_EXPORT __declspec(dllimport) -# endif -# else -# ifdef LIBODB_BOOST_DYNAMIC_LIB -# ifdef DLL_EXPORT -# define LIBODB_BOOST_EXPORT __declspec(dllexport) -# else -# define LIBODB_BOOST_EXPORT -# endif -# else -# define LIBODB_BOOST_EXPORT __declspec(dllimport) -# endif -# endif -# else -# define LIBODB_BOOST_EXPORT -# endif -#endif - -#endif // LIBODB_BOOST_BUILD2 - #include <odb/post.hxx> #endif // ODB_BOOST_DETAILS_EXPORT_HXX |