contrib/brl/bseg/segv/dll.h
Go to the documentation of this file.
00001 // This is brl/bseg/segv/dll.h
00002 #ifndef segv_dll_h_
00003 #define segv_dll_h_
00004 
00005 #include <vcl_compiler.h>
00006 
00007 #define SEGV_DLL_DATA
00008 
00009 #if defined(VCL_WIN32) && !defined(BUILDING_SEGV_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 SEGV_DLL_DATA
00015 #  define SEGV_DLL_DATA _declspec(dllimport)
00016 # endif // BUILD_DLL
00017 #endif // VCL_WIN32 and !Building_*_dll
00018 
00019 #endif // segv_dll_h_