Recommended cygwin-1.7 check
Reini Urban
rurban@x-ray.at
Fri Jun 13 17:38:00 GMT 2008
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/
More information about the Cygwin
mailing list