From patchwork Fri Mar 9 13:05:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tristan Gingold X-Patchwork-Id: 145718 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id D03C3B6FA3 for ; Sat, 10 Mar 2012 00:05:30 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1331903131; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:Content-Type:Content-Transfer-Encoding:Subject: Date:Message-Id:To:Mime-Version:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=OGA1hkzeVZ8jeRjRhJMbNrX3prc=; b=DfZEHcS1yBhF0ap k/SoBDeILaqP1GktsGMJ3Ob1VUdRkDleFefLa8H3tAwqQ+SObY/rMvrubXqL3gIv VfcEmZ6NZJrOeSFwSHyyvKoMJLhVj5FTwjiKfKqpuFSNj7/dWaS2BKZBqwzK4+YD sOHs42o7AY/EMA484c+TeWT4vUY8= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=wz/WBZCM6Jx8HFUDJVo/nBIwrnL3dj7NQvRAPLljhdmv0TJ1e+oDbFLE5eH+Aj m5qPFjZKYL1AVx5Jtr22BXaN0Qj6GjGmLvTRL2tQ3TB3kAH+GJjPLsFDbjLJhm+A NV7tn6FoOU/ZZvO+XGmcJwuZh1D8j+OPim/N8kgcMuLYs=; Received: (qmail 3163 invoked by alias); 9 Mar 2012 13:05:25 -0000 Received: (qmail 3154 invoked by uid 22791); 9 Mar 2012 13:05:24 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Mar 2012 13:05:11 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 6191229006F for ; Fri, 9 Mar 2012 14:05:11 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OKDMOYuPrXYu for ; Fri, 9 Mar 2012 14:05:11 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 4F73729006C for ; Fri, 9 Mar 2012 14:05:11 +0100 (CET) From: Tristan Gingold Subject: [VMS/committed]: Do not define __size_t on VMS Date: Fri, 9 Mar 2012 14:05:09 +0100 Message-Id: <63DD81B3-3848-4449-A7BA-50B294D7FF19@adacore.com> To: GCC Patches Mime-Version: 1.0 (Apple Message framework v1257) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org as it is already defined and used by the system headers. No regressions for x86_64-darwin after full bootstrap. Tristan. 2012-03-09 Tristan Gingold * ginclude/stddef.h: Do not define __size_t on VMS. diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index 8a03948e..ebe0190 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -203,6 +203,8 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t; #if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \ || defined(__FreeBSD_kernel__) /* __size_t is a typedef on FreeBSD 5, must not trash it. */ +#elif defined (VMS) +/* __size_t is also a typedef on VMS. */ #else #define __size_t #endif