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