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