From patchwork Fri Aug 28 17:23:28 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 32384 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 5AD36B7B9A for ; Sat, 29 Aug 2009 03:26:58 +1000 (EST) Received: from localhost ([127.0.0.1]:52564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh5Dz-0006bS-04 for incoming@patchwork.ozlabs.org; Fri, 28 Aug 2009 13:26:55 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh5D7-0006Fq-A3 for qemu-devel@nongnu.org; Fri, 28 Aug 2009 13:26:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh5D2-0006Ak-HC for qemu-devel@nongnu.org; Fri, 28 Aug 2009 13:26:00 -0400 Received: from [199.232.76.173] (port=57375 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh5D2-0006Aa-3o for qemu-devel@nongnu.org; Fri, 28 Aug 2009 13:25:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55934) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh5D1-0001Pd-L2 for qemu-devel@nongnu.org; Fri, 28 Aug 2009 13:25:55 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7SHPspM020089 for ; Fri, 28 Aug 2009 13:25:54 -0400 Received: from localhost.localdomain (vpn2-8-222.ams2.redhat.com [10.36.8.222]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7SHPrlw011277; Fri, 28 Aug 2009 13:25:53 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Fri, 28 Aug 2009 19:23:28 +0200 Message-Id: <1251480208-21243-1-git-send-email-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH] Don't redefine NULL, please X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Compiled (on linux) all the targets, and it compiled as expected. What platform needs this redefinition? Later, Juan. Signed-off-by: Juan Quintela --- dyngen-exec.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dyngen-exec.h b/dyngen-exec.h index 18819e4..86e61c3 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -47,8 +47,6 @@ typedef struct FILE FILE; extern int fprintf(FILE *, const char *, ...); extern int fputs(const char *, FILE *); extern int printf(const char *, ...); -#undef NULL -#define NULL 0 #if defined(__i386__) #define AREG0 "ebp"