core/vgui/dll.h
Go to the documentation of this file.
00001 #ifndef vgui_DLLDATA_H
00002 #define vgui_DLLDATA_H
00003 #define vgui_DLLDATA 
00004 
00005 #include <vcl_compiler.h>
00006 
00007 #if defined(VCL_WIN32) && !defined(BUILDING_VGUI_DLL)
00008 
00009 // if win32 and not BUILDING_VGUI_DLL then you need a dllimport 
00010 // Only if you are building a DLL linked application.
00011 #ifdef BUILD_DLL
00012 #undef vgui_DLLDATA
00013 #define vgui_DLLDATA _declspec(dllimport)
00014 #endif // BUILD_DLL
00015 #endif // VCL_WIN32 && !BUILDING_VGUI_DLL
00016 
00017 #endif // vgui_DLLDATA_H