MusicKit  0.0.0
MKDSPDefines.h
00001 /*
00002  *  $Id$
00003  *  Defined In: The MusicKit
00004  *
00005  * Description:
00006  *   Defines for MKDSP to facilitate dll creation on Win32
00007  *
00008  * Original Author: Stephen Brandon <stephen@brandonitconsulting.co.uk>
00009  *
00010  * 31 Oct 2001, Copyright (c) 2001 Stephen Brandon.
00011  *
00012  * Permission is granted to use and modify this code for commercial and non-
00013  * commercial purposes so long as the author attribution and this copyright
00014  * message remains intact and accompanies all derived code.
00015  *
00016  */
00017 
00018 #ifndef __MKDSPDefines_INCLUDE
00019 #define __MKDSPDefines_INCLUDE
00020 
00021 #if BUILD_libMKDSP_DLL
00022 #  define MKDSP_API  __declspec(dllexport)
00023 #  define MKDSP_DECLARE __declspec(dllexport)
00024 #elif libMKDSP_ISDLL
00025 #  define MKDSP_API  extern __declspec(dllimport)
00026 #  define MKDSP_DECLARE __declspec(dllimport)
00027 #else
00028 #  define MKDSP_API extern
00029 #  define MKDSP_DECLARE
00030 #endif
00031 
00032 #endif /* __MKDSPDefines_INCLUDE */