From patchwork Thu Sep 22 11:28:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ozkan Sezer X-Patchwork-Id: 115935 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 47D31B6F7F for ; Thu, 22 Sep 2011 21:28:48 +1000 (EST) Received: (qmail 9720 invoked by alias); 22 Sep 2011 11:28:46 -0000 Received: (qmail 9711 invoked by uid 22791); 22 Sep 2011 11:28:45 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Sep 2011 11:28:23 +0000 Received: by qwh6 with SMTP id 6so5523830qwh.6 for ; Thu, 22 Sep 2011 04:28:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.68.20 with SMTP id t20mr1536951qci.232.1316690902023; Thu, 22 Sep 2011 04:28:22 -0700 (PDT) Received: by 10.229.38.71 with HTTP; Thu, 22 Sep 2011 04:28:21 -0700 (PDT) Date: Thu, 22 Sep 2011 14:28:21 +0300 Message-ID: Subject: [PATCH] [mingw] fix typo: s/_REENTRANCE/_REENTRANT/ From: Ozkan Sezer To: gcc-patches@gcc.gnu.org Cc: ktietz@redhat.com 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 Hi: Unless I'm missing something, the mingw CPP_SPEC changes introduced in r171833 have a typo: -D_REENTRANCE should read -D_REENTRANT . Patchlet below. Please review, and apply if it's OK. config/i386/mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to _REENTRANT. config/i386/mingw32.h (CPP_SPEC): Likewise. --- O.S. Index: config/i386/mingw-w64.h =================================================================== --- config/i386/mingw-w64.h (revision 171833) +++ config/i386/mingw-w64.h (working copy) @@ -25,8 +25,8 @@ #undef CPP_SPEC #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{mthreads:-D_MT} " \ "%{municode:-DUNICODE} " \ - "%{" SPEC_PTHREAD1 ":-D_REENTRANCE} " \ - "%{" SPEC_PTHREAD2 ":-U_REENTRANCE} " + "%{" SPEC_PTHREAD1 ":-D_REENTRANT} " \ + "%{" SPEC_PTHREAD2 ":-U_REENTRANT} " #undef STARTFILE_SPEC #define STARTFILE_SPEC "%{shared|mdll:dllcrt2%O%s} \ Index: config/i386/mingw32.h =================================================================== --- config/i386/mingw32.h (revision 177789) +++ config/i386/mingw32.h (working copy) @@ -87,7 +87,7 @@ #undef CPP_SPEC #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{mthreads:-D_MT} " \ - "%{" SPEC_PTHREAD1 ":-D_REENTRANCE} " \ + "%{" SPEC_PTHREAD1 ":-D_REENTRANT} " \ "%{" SPEC_PTHREAD2 ": } " /* For Windows applications, include more libraries, but always include