core/vpgl/vpgl_dll.h
Go to the documentation of this file.
00001 // This is vpgl/vpgl_dll.h
00002 #ifndef vpgl_dll_h_
00003 #define vpgl_dll_h_
00004 
00005 #include <vcl_compiler.h>
00006 
00007 #define VPGL_DLL_DATA
00008 
00009 #if defined(VCL_WIN32) && !defined(BUILDING_VPGL_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 VPGL_DLL_DATA
00015 #  define VPGL_DLL_DATA _declspec(dllimport)
00016 # endif // BUILD_DLL
00017 #endif // VCL_WIN32 and !Building_*_dll
00018 
00019 #endif // vpgl_dll_h_