summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.c b/main.c
index f06831b3..7f02035e 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.55 2009/11/02 08:08:23 kristaps Exp $ */
+/* $Id: main.c,v 1.56 2009/11/02 08:13:48 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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__