summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Torri <storri@users.sourceforge.net>2003-09-17 22:30:18 +0000
committerStephen Torri <storri@users.sourceforge.net>2003-09-17 22:30:18 +0000
commit3bd39a648f86800740e3a3190db1684e51534fbf (patch)
tree334a4967b57c0c2ab0f7c16c6d95d8ce6fc158df
parentf005abded5b0416d313fc4f9dff5b3dc00609df1 (diff)
downloadxine-lib-3bd39a648f86800740e3a3190db1684e51534fbf.tar.gz
xine-lib-3bd39a648f86800740e3a3190db1684e51534fbf.tar.bz2
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
-rw-r--r--src/xine-utils/attributes.h4
1 files changed, 3 insertions, 1 deletions
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_ */