diff -r 57c618273d5c -r bbf46f59e123 graphicsaccelaration/vgi/inc/vg/vgcontext.h --- a/graphicsaccelaration/vgi/inc/vg/vgcontext.h Thu Aug 19 11:11:18 2010 +0300 +++ b/graphicsaccelaration/vgi/inc/vg/vgcontext.h Tue Aug 31 16:31:06 2010 +0300 @@ -53,7 +53,11 @@ VGI_COPY_TRANSPARENT_PIXELS, } VGICopyToTargetHint; -#define VGI_API_CALL __declspec(dllexport) +#ifdef GRAPHICS_LIBVGI_DLL + #define VGI_API_CALL __declspec(dllexport) +#else + #define VGI_API_CALL __declspec(dllimport) +#endif #ifdef __cplusplus extern "C" {