nut/include/attribute.h

13 lines
297 B
C
Raw Permalink Normal View History

2010-03-25 23:20:59 +00:00
/* portability hacks for __attribute__ usage in other header files */
#ifndef ATTRIBUTE_H_SEEN
#define ATTRIBUTE_H_SEEN 1
#ifndef __attribute__
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
# define __attribute__(x)
# endif
#endif
#endif /* ATTRIBUTE_H_SEEN */