nut/include/attribute.h
2010-03-26 00:20:59 +01:00

12 lines
297 B
C

/* 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 */