diff options
author | Carl Worth <cworth@cworth.org> | 2007-04-28 07:45:26 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2007-04-28 07:45:26 -0700 |
commit | d89d8e6b45b7c13b77aa7c2f1c480f58429b08af (patch) | |
tree | b8877b83b42b47d05298fd311960c00617c9e4b4 | |
parent | cb6fcdae92503964448144413e48ac388861d95f (diff) |
pixman.h: Add missing definition of WARN_UNUSED_RESULT
This was breaking the build on systems without support for the
__warn_unused_result__ attribute.
-rw-r--r-- | pixman/src/pixman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pixman/src/pixman.h b/pixman/src/pixman.h index b905b47d1..8a2dd18f3 100644 --- a/pixman/src/pixman.h +++ b/pixman/src/pixman.h @@ -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 |