From: Adam Dickmeiss Date: Tue, 24 Apr 2007 12:54:42 +0000 (+0000) Subject: Added definition of YAZ_IMPORT for DLL import on Windows X-Git-Tag: YAZ.3.0.0~32 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=517b3b01c47fb87ed9656ee9b184eda54b6d0c99;p=yaz-moved-to-github.git Added definition of YAZ_IMPORT for DLL import on Windows --- diff --git a/include/yaz/yconfig.h b/include/yaz/yconfig.h index 5c485d2..9e4a595 100644 --- a/include/yaz/yconfig.h +++ b/include/yaz/yconfig.h @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: yconfig.h,v 1.11 2007-01-03 08:42:14 adam Exp $ */ +/* $Id: yconfig.h,v 1.12 2007-04-24 12:54:42 adam Exp $ */ /** * \file yconfig.h @@ -37,8 +37,10 @@ #ifndef YAZ_EXPORT # ifdef WIN32 # define YAZ_EXPORT __declspec(dllexport) +# define YAZ_IMPORT __declspec(dllimport) # else # define YAZ_EXPORT +# define YAZ_IMPORT # endif #endif