diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-04-18 17:04:07 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-04-18 17:06:48 -0400 |
commit | 48121e97ac4f0114a0d5bc35aec76d2aba23a783 (patch) | |
tree | d680a9b599fb2be9b228e9a388ca50b8fab93bba /src/cairoint.h | |
parent | a396e0b05731db3acbf1e8d82ab77592b697e417 (diff) |
[cairoint.h] Define WARN_UNUSED_RESULT if undefined
Diffstat (limited to 'src/cairoint.h')
-rw-r--r-- | src/cairoint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairoint.h b/src/cairoint.h index f5ecff055..a8b052520 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -110,6 +110,9 @@ CAIRO_BEGIN_DECLS #define cairo_private_no_warn #endif +#ifndef WARN_UNUSED_RESULT +#define WARN_UNUSED_RESULT +#endif /* Add attribute(warn_unused_result) if supported */ #define cairo_warn WARN_UNUSED_RESULT #define cairo_private cairo_private_no_warn cairo_warn |