[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150613021543.GA7232@ZenIV.linux.org.uk>
Date: Sat, 13 Jun 2015 03:15:43 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] linux/types.h: remove prehistoric ifndefs
On Thu, Jun 11, 2015 at 11:43:58AM +0200, Rasmus Villemoes wrote:
> Whatever the "historical reasons" were back around 1996 when this
> comment was added,
>
> git grep -E '\b_(S?SIZE|TIME|CLOCK|PTRDIFF|CADDR)_T\b'
>
> seems to say that they are no longer relevant. Relieve the
> preprocessor from a little work.
You are looking in the wrong place. Check your compiler's stddef.h - things
like
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/stddef.h:#define _SIZE_T
or
/usr/lib/llvm-3.5/lib/clang/3.5.0/include/stddef.h:#define _SIZE_T
along with the things like
typedef __SIZE_TYPE__ size_t;
this sucker is protecting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists