diff options
author | Carl Worth <cworth@cworth.org> | 2005-05-06 21:33:22 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-05-06 21:33:22 +0000 |
commit | 10c88d424485c7f001e9e03c121aa7c3b55336cc (patch) | |
tree | cea9516a466c2f28bf7f68280cd90003af73448c /util/cairo-api-update | |
parent | 9939e01b693a885496cfa82430b91c11a121269e (diff) | |
download | cairo-10c88d424485c7f001e9e03c121aa7c3b55336cc.tar.gz |
Change definitions of everything in cairo-features.h to prefer #if over #ifdef.
Track #ifdef -> #if changes.
Add support to automatically change all #ifdef CAIRO_HAS to #if CAIRO_HAS.
Diffstat (limited to 'util/cairo-api-update')
-rwxr-xr-x | util/cairo-api-update | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cairo-api-update b/util/cairo-api-update index 764808484..e9752d4a8 100755 --- a/util/cairo-api-update +++ b/util/cairo-api-update @@ -51,6 +51,7 @@ cairo_api_update() { s/CAIRO_OPERATOR_IN_REVERSE/CAIRO_OPERATOR_DEST_IN/g s/CAIRO_OPERATOR_OUT_REVERSE/CAIRO_OPERATOR_DEST_OUT/g s/CAIRO_OPERATOR_ATOP_REVERSE/CAIRO_OPERATOR_DEST_ATOP/g + s/^#\([ ]*\)ifdef[ ]*CAIRO_HAS/#\1if CAIRO_HAS/g ' $backup > $file } |