From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31064 invoked by alias); 9 Jan 2012 16:20:31 -0000 Received: (qmail 31038 invoked by uid 22791); 9 Jan 2012 16:20:27 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail2.lawo.de (HELO mail2.lawo.de) (80.149.95.33) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Jan 2012 16:20:16 +0000 Received: from Exchange1.lawo.de (10.2.11.11) by mail2.lawo.de (10.0.0.34) with Microsoft SMTP Server (TLS) id 8.1.358.0; Mon, 9 Jan 2012 17:19:30 +0100 Received: from Exchange1.lawo.de ([10.2.11.11]) by Exchange1.lawo.de ([10.2.11.11]) with mapi; Mon, 9 Jan 2012 17:20:14 +0100 From: "Holzinger, Axel (ALC NetworX GmbH)" To: "pthreads-win32@sourceware.org" Date: Mon, 09 Jan 2012 16:20:00 -0000 Subject: Small patches to prevent macro redefinition warning when building on windows Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-PMWin-Version: 3.1.0.0, Antivirus-Engine: 3.27.0, Antivirus-Data: 4.73G X-PureMessage: [Scanned] X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2012/txt/msg00000.txt.bz2 Hi Ross et al, when building with VS2010 and having _POSIX_C_SOURCE defined greater or equ= al than 200112, two macro redefinition warnings are spit out, one in pthrea= d.h and one in sched.h. I have made two patches that just undefine PTW32_LEVEL resp. PTW32_SCHED_LE= VEL before (re-)defining it. Patches attached. Cheers Axel