summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index f8b5c597..ad308c08 100644
--- a/main.c
+++ b/main.c
@@ -33,7 +33,9 @@
/* FIXME: Intel's compiler? LLVM? pcc? */
#if !defined(__GNUC__) || (__GNUC__ < 2)
-# define __attribute__(x)
+# if !defined(lint)
+# define __attribute__(x)
+# endif
#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */
#ifdef __linux__