graphicsaccelaration/vgi/inc/vg/vgcontext.h
changeset 152 9f1c3fea0f87
parent 45 36b2e23a8629
child 164 25ffed67c7ef
--- 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" {