Re: Recommended cygwin-1.7 check

2008-06-14 Thread Corinna Vinschen
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 > sho

Recommended cygwin-1.7 check

2008-06-13 Thread Reini Urban
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 definiti