diff -r 29ddb8a72f0e -r 9f1c3fea0f87 graphicsaccelaration/vgi/inc/vg/vgcontext.h --- a/graphicsaccelaration/vgi/inc/vg/vgcontext.h Tue Jul 06 15:45:57 2010 +0300 +++ b/graphicsaccelaration/vgi/inc/vg/vgcontext.h Wed Aug 18 11:05:09 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" {