diff -r 2717213c588a -r 171fae344dd4 graphicsaccelaration/vgi/inc/vg/vgcontext.h --- a/graphicsaccelaration/vgi/inc/vg/vgcontext.h Tue Jun 22 15:21:29 2010 +0300 +++ b/graphicsaccelaration/vgi/inc/vg/vgcontext.h Fri Jul 16 11:45:55 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" {