From 3bd39a648f86800740e3a3190db1684e51534fbf Mon Sep 17 00:00:00 2001 From: Stephen Torri Date: Wed, 17 Sep 2003 22:30:18 +0000 Subject: Bounded defition with a check to ensure that it is not predefined before we define this instance of __attribute__ CVS patchset: 5400 CVS date: 2003/09/17 22:30:18 --- src/xine-utils/attributes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-utils/attributes.h b/src/xine-utils/attributes.h index c5674051f..c468b7ba5 100644 --- a/src/xine-utils/attributes.h +++ b/src/xine-utils/attributes.h @@ -37,7 +37,9 @@ #endif #else #undef ATTRIBUTE_PACKED -#define __attribute_not_used__(x) /**/ +#ifndef __attribute__ +#define __attribute__(x) /**/ +#endif /* __attribute __*/ #endif #endif /* ATTRIBUTE_H_ */ -- cgit v1.2.3