[cairo] inline functions
XinGang Li
slinavlee at gmail.com
Mon Apr 16 19:35:22 PDT 2007
since 1.4.4, the __inline specifier of all the inline fuctions replaced
with inline. But for the msvc compiler we need to using the __inline
specifier for the c functions.
This is a good way to fix this problem:
Add below code to pixman.h:
#if defined(_MSC_VER)
#define WARN_UNUSED_RESULT
#define inline __inline
#endif
--
Li XinGang
EMail: slinavlee at gmail.com
Blog: avlee.cnblogs.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20070417/1b434398/attachment.html
More information about the cairo
mailing list