X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 14 Jun 2008 10:49:54 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Recommended cygwin-1.7 check Message-ID: <20080614084954.GW731@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <6910a60806131011t553f5b99qaf1867a95cd144c8 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6910a60806131011t553f5b99qaf1867a95cd144c8@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jun 13 19:11, Reini Urban wrote: > How should one check for the new cygwin 1.7 API, esp. wchar pathnames? > > So far I've used > #include > #if (CYGWIN_VERSION_USER_API_VERSION_COMBINED >= 181) > because I needed cygwin_conv_path() > > But I assume > #if CYGWIN_VERSION_DLL_MAJOR >= 1007 > should be used instead. It's your choice. Usually for the cygwin_conv_path case it's probably better to use the first one, but keeping the global picture in mind... > Or shouldn't some default definition in be used instead? > Otherwise one has to add > #include > everywhere. Only where you need it. Where's the problem? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/