From 238130d3144af0db7d448e6f7e8521f50cd997b0 Mon Sep 17 00:00:00 2001 From: erg Date: Fri, 11 May 2007 17:06:35 +0000 Subject: [PATCH] Fix include files so that imports for DLL has to be turned on explicitly. --- lib/cdt/cdt.h | 2 +- lib/sfio/sfio.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cdt/cdt.h b/lib/cdt/cdt.h index 02804f7ba..f7ac502cf 100644 --- a/lib/cdt/cdt.h +++ b/lib/cdt/cdt.h @@ -166,7 +166,7 @@ extern "C" { #if _BLD_cdt && defined(__EXPORT__) #define extern __EXPORT__ #endif -#if !_BLD_cdt && defined(_WIN32) +#if !_BLD_cdt && defined(GVDLL) #define extern __declspec(dllimport) #endif #if !_BLD_cdt && defined(__IMPORT__) diff --git a/lib/sfio/sfio.h b/lib/sfio/sfio.h index 76784399a..8d3e4d6a6 100644 --- a/lib/sfio/sfio.h +++ b/lib/sfio/sfio.h @@ -277,7 +277,7 @@ extern "C" { _BEGIN_EXTERNS_ extern ssize_t _Sfi; -#if !_BLD_sfio && defined(_WIN32) +#if !_BLD_sfio && defined(GVDLL) #define extern __declspec(dllimport) #endif /* standard in/out/err streams */ -- 2.40.0