X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=CM40MKV3Nub6pQWOgIGWspzcj7VnE6BB2Titeioth8F
	uStqzm1xJS1Hd7vL1z1yQtbdlXH6xfN43lOa0+D9DxXguaAa6tU2XQH+zUM0ELwa
	kOTvtJMxNZxMJlBAJiyjrdX84n4vIreoDqe3/UVuVMqXqTMXIoSpTNBKJQlOU50o
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=U0cjMO5mhNuw4LlPD1YVv2GlPbQ=; b=vI4Pyzbp/oaPYytlQ
	+EL84Y/tUpYUtndPYtTsn3tvlXdcd2hMj0S/s7lgwQylFGWuQoyvFRbU6k2aENXW
	Lxpf7xSfoqvohPhD7wa5Sx2wkgMpLWfY+N0wAtHM6M5Y9D25VS28TbBTV+Si7sFt
	Mg5K443e0SQxU6R12xfyO+0GXM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: etr-usa.com
Message-ID: <528B93E6.3030802@etr-usa.com>
Date: Tue, 19 Nov 2013 09:37:58 -0700
From: Warren Young <warren@etr-usa.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: cygcheck -svc segfaults on Windows 8.1 with cygwin64
References: <1384839303.14356.YahooMailNeo@web125203.mail.ne1.yahoo.com> <20131119100343.GA27525@calimero.vinschen.de>
In-Reply-To: <20131119100343.GA27525@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 11/19/2013 03:03, Corinna Vinschen wrote:
>
> I'm also going
> to look for a solution to differ between Windows 8 and 8.1 (also 2012
> vs. 2012R2) in the cygcheck output.

GetVersionEx() should do it: http://goo.gl/DbhsRJ

If you follow the link to the OSVERSIONINFO structure, you will find a 
table that tells you how you distinguish those four cases.

--
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

