From 517b3b01c47fb87ed9656ee9b184eda54b6d0c99 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 24 Apr 2007 12:54:42 +0000 Subject: [PATCH] Added definition of YAZ_IMPORT for DLL import on Windows --- include/yaz/yconfig.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.10.4