diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-02 08:13:48 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-02 08:13:48 +0000 |
commit | d0b5944b6866943fc00e03e4f6bdf10972d56575 (patch) | |
tree | 826f177c560c1eadea193a58dacb1f214c87c1df /main.c | |
parent | 41716fe6c55a74e00a0a9593d42872cd43e56780 (diff) | |
download | mandoc-d0b5944b6866943fc00e03e4f6bdf10972d56575.tar.gz |
Added lint to __attribute__ defines.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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__ |