Code

Check to make sure canvas provided to forced redraw functions is not null.
[inkscape.git] / src / gnuc-attribute.h
1 /**
2  * Define _gnuc_attribute(blah) as synonym for __attribute__(blah) on gcc,
3  * or as nothing on other compilers.
4  */
5 #ifndef _gnuc_attribute
6 # ifdef __GNUC__
7 #  define _gnuc_attribute(_attr) __attribute__(_attr)
8 # else
9 #  define _gnuc_attribute(_attr)
10 # endif
11 #endif