From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755397AbbFMCPt (ORCPT ); Fri, 12 Jun 2015 22:15:49 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:46322 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752097AbbFMCPs (ORCPT ); Fri, 12 Jun 2015 22:15:48 -0400 Date: Sat, 13 Jun 2015 03:15:43 +0100 From: Al Viro To: Rasmus Villemoes Cc: Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] linux/types.h: remove prehistoric ifndefs Message-ID: <20150613021543.GA7232@ZenIV.linux.org.uk> References: <1434015839-30185-1-git-send-email-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434015839-30185-1-git-send-email-linux@rasmusvillemoes.dk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.