This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Recommended cygwin-1.7 check


How should one check for the new cygwin 1.7 API, esp. wchar pathnames?

So far I've used
#include <cygwin/version.h>
#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 <sys/cygwin.h> be used instead?
Otherwise one has to add
#include <cygwin/version.h>
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]