Added definition of YAZ_IMPORT for DLL import on Windows
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 24 Apr 2007 12:54:42 +0000 (12:54 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 24 Apr 2007 12:54:42 +0000 (12:54 +0000)
include/yaz/yconfig.h

index 5c485d2..9e4a595 100644 (file)
@@ -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
 #ifndef YAZ_EXPORT
 # ifdef WIN32
 #  define YAZ_EXPORT __declspec(dllexport)
+#  define YAZ_IMPORT __declspec(dllimport)
 # else
 #  define YAZ_EXPORT
+#  define YAZ_IMPORT 
 # endif
 #endif