00001 // This is brl/bbas/bdgl/dll.h 00002 #ifndef bdgl_dll_h_ 00003 #define bdgl_dll_h_ 00004 00005 #include <vcl_compiler.h> 00006 00007 #define BDGL_DLL_DATA 00008 00009 #if defined(VCL_WIN32) && !defined(BUILDING_BDGL_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 BDGL_DLL_DATA 00015 # define BDGL_DLL_DATA _declspec(dllimport) 00016 # endif // BUILD_DLL 00017 #endif // VCL_WIN32 and !Building_*_dll 00018 00019 #endif // bdgl_dll_h_