From a7e89b0c67e36efa93a9026409d4fd172d560b69 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 15 Nov 2002 12:57:13 +0000 Subject: [PATCH] removed defunct BOOST_DECL macro [SVN r16257] --- include/boost/config/platform/win32.hpp | 11 ----------- include/boost/config/suffix.hpp | 4 ---- test/config_info.cpp | 1 - 3 files changed, 16 deletions(-) diff --git a/include/boost/config/platform/win32.hpp b/include/boost/config/platform/win32.hpp index cd9ea0d3..d156b99b 100644 --- a/include/boost/config/platform/win32.hpp +++ b/include/boost/config/platform/win32.hpp @@ -9,17 +9,6 @@ #define BOOST_PLATFORM "Win32" -#if defined BOOST_DECL_EXPORTS -# if defined BOOST_DECL_IMPORTS -# error Not valid to define both BOOST_DECL_EXPORTS and BOOST_DECL_IMPORTS -# endif -# define BOOST_DECL __declspec(dllexport) -#elif defined BOOST_DECL_IMPORTS -# define BOOST_DECL __declspec(dllimport) -#else -# define BOOST_DECL -#endif - #if defined(__GNUC__) && !defined(BOOST_NO_SWPRINTF) # define BOOST_NO_SWPRINTF #endif diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index dd00fc18..e38f5d25 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -17,10 +17,6 @@ #ifndef BOOST_CONFIG_SUFFIX_HPP #define BOOST_CONFIG_SUFFIX_HPP -# ifndef BOOST_DECL -# define BOOST_DECL // default for compilers not needing this decoration. -# endif - // // look for long long by looking for the appropriate macros in . // Note that we use limits.h rather than climits for maximal portability, diff --git a/test/config_info.cpp b/test/config_info.cpp index ab64defa..1b867a85 100644 --- a/test/config_info.cpp +++ b/test/config_info.cpp @@ -837,7 +837,6 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_PLATFORM_CONFIG); // then defect and feature macros: PRINT_MACRO(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG); - PRINT_MACRO(BOOST_DECL); PRINT_MACRO(BOOST_DEDUCED_TYPENAME); PRINT_MACRO(BOOST_DISABLE_THREADS); PRINT_MACRO(BOOST_DISABLE_WIN32);