X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <6910a60806131011t553f5b99qaf1867a95cd144c8@mail.gmail.com> Date: Fri, 13 Jun 2008 19:11:48 +0200 From: "Reini Urban" To: cygwin AT cygwin DOT com Subject: Recommended cygwin-1.7 check MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 868a80008ed565a2 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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. Or shouldn't some default definition in be used instead? Otherwise one has to add #include everywhere. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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/