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