From patchwork Sat Aug 7 09:52:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Tietz X-Patchwork-Id: 61175 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 EF84AB6EEE for ; Sat, 7 Aug 2010 19:53:07 +1000 (EST) Received: (qmail 27937 invoked by alias); 7 Aug 2010 09:53:05 -0000 Received: (qmail 27929 invoked by uid 22791); 7 Aug 2010 09:53:04 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-qy0-f182.google.com (HELO mail-qy0-f182.google.com) (209.85.216.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Aug 2010 09:53:00 +0000 Received: by qyk32 with SMTP id 32so7979382qyk.20 for ; Sat, 07 Aug 2010 02:52:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.181.1 with SMTP id bw1mr3178270qcb.186.1281174778739; Sat, 07 Aug 2010 02:52:58 -0700 (PDT) Received: by 10.229.234.82 with HTTP; Sat, 7 Aug 2010 02:52:58 -0700 (PDT) Date: Sat, 7 Aug 2010 11:52:58 +0200 Message-ID: Subject: [patch mingw]: Define _WIN32 From: Kai Tietz To: GCC Patches Cc: Danny Smith , Dave Korn 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 Hello, The define _WIN64 shouldn't be defined expanded. ChangeLog 2010-08-07 Kai Tietz * config/i386/mingw32.h (EXTRA_OS_CPP_BUILTINS): Define _WIN64 not expanded. I will apply this patch in a couple of hours, if there aren't any objections. Regards, Kai Index: gcc/gcc/config/i386/mingw32.h =================================================================== --- gcc.orig/gcc/config/i386/mingw32.h 2010-07-20 19:52:41.000000000 +0200 +++ gcc/gcc/config/i386/mingw32.h 2010-08-07 11:45:40.152187500 +0200 @@ -42,7 +42,7 @@ { \ builtin_define ("__MINGW64__"); \ builtin_define_std ("WIN64"); \ - builtin_define_std ("_WIN64"); \ + builtin_define ("_WIN64"); \ } \ } \ while (0)