Marsyas  0.6.0-alpha
/usr/src/RPM/BUILD/marsyas-0.6.0/src/marsyas/export.h
Go to the documentation of this file.
00001 #ifndef _marsyas_DLLDEFINES_H
00002 #define _marsyas_DLLDEFINES_H
00003 
00004 #if defined (_WIN32) && !defined(MARSYAS_STATIC)
00005 
00006 #ifdef _MSC_VER
00007 #pragma warning(disable: 4251)
00008 #endif
00009 
00010 #if defined (marsyas_EXPORTS)
00011 #define marsyas_EXPORT __declspec(dllexport)
00012 #else
00013 #define marsyas_EXPORT __declspec(dllimport)
00014 #endif
00015 
00016 #else
00017 
00018 #define marsyas_EXPORT
00019 
00020 #endif
00021 
00022 #endif