~vaifrax/inkscape/bugfix170049

« back to all changes in this revision

Viewing changes to src/gnuc-attribute.h

  • Committer: mental
  • Date: 2006-01-16 02:36:01 UTC
  • Revision ID: mental@users.sourceforge.net-20060116023601-wkr0h7edl5veyudq
moving trunk for module inkscape

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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