pixman.h: Add missing definition of WARN_UNUSED_RESULT

This was breaking the build on systems without support for the
__warn_unused_result__ attribute.
This commit is contained in:
Carl Worth 2007-04-28 07:45:26 -07:00
parent cb6fcdae92
commit d89d8e6b45

View file

@ -103,6 +103,9 @@ SOFTWARE.
#define pixman_private_no_warn
#endif
#ifndef WARN_UNUSED_RESULT
#define WARN_UNUSED_RESULT
#endif
/* Add attribute(warn_unused_result) if supported */
#define pixman_warn WARN_UNUSED_RESULT
#define pixman_private pixman_private_no_warn pixman_warn