X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.0 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4C7FA8CB.4030207@dronecode.org.uk>
References: <AANLkTinwYoXusghmJKt1VEk18JU3_v_QB2kwyDocrm3_@mail.gmail.com>	<AANLkTindaBs0p_=_B0z5WphyvBofm5OHpBWp5i5kr1=i@mail.gmail.com>	<4C7FA8CB.4030207@dronecode.org.uk>
Date: Thu, 2 Sep 2010 09:53:32 -0400
Message-ID: <AANLkTimH9cMYC1zYUoJmRSt6a5y2h4-6Ws4PfX=9p2Ry@mail.gmail.com>
Subject: Re: can't compile setup.exe
From: Chris Sutcliffe <ir0nh34d@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2 September 2010 09:38, Jon TURNEY wrote:
> This was broken by the recent w32api-3.15 update, which seems to have made
> those PropSheet macros C++ aware, so the global scoping operator is no
> longer needed.
>
> Patch attached to fix it, but I couldn't work out how to also get it to
> build with w32api-3.14.

#if (__W32API_MAJOR_VERSION == 3 && __W32API_MINOR_VERSION < 15)

should do the trick.

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

