core/vnl/dll.h
Go to the documentation of this file.
00001 // This is core/vnl/dll.h
00002 #ifndef vnl_dll_h_
00003 #define vnl_dll_h_
00004 
00005 #include <vcl_compiler.h>
00006 
00007 #define VNL_DLL_DATA
00008 
00009 #if defined(VCL_WIN32) && !defined(BUILDING_VNL_DLL)
00010 
00011 // if win32 and not building the DLL then you need a dllimport
00012 // Only if you are building a DLL linked application.
00013 # ifdef BUILD_DLL
00014 #  undef VNL_DLL_DATA
00015 #  define VNL_DLL_DATA _declspec(dllimport)
00016 # endif // BUILD_DLL
00017 #endif // VCL_WIN32 and !Building_*_dll
00018 
00019 #endif // vnl_dll_h_