dll.h
Go to the documentation of this file.
1 // This is core/vnl/dll.h
2 #ifndef vnl_dll_h_
3 #define vnl_dll_h_
4 
5 #ifdef _MSC_VER
6 # include <vcl_msvc_warnings.h>
7 #endif
8 
9 #define VNL_DLL_DATA
10 
11 #if defined(_WIN32) && !defined(BUILDING_VNL_DLL)
12 
13 // if win32 and not building the DLL then you need a dllimport
14 // Only if you are building a DLL linked application.
15 # ifdef BUILD_DLL
16 # undef VNL_DLL_DATA
17 # define VNL_DLL_DATA _declspec(dllimport)
18 # endif // BUILD_DLL
19 #endif // _WIN32 and !Building_*_dll
20 
21 #endif // vnl_dll_h_