don't compile in wxCheckWin32Permission() when it's not used (as in cygwin builds where both __UNIX__ and __WINDOWS__ are defined)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-11-04 03:14:48 +00:00
parent 8bf7f1a9fe
commit 968956aa6e

View File

@@ -1779,7 +1779,7 @@ int WXDLLEXPORT wxParseCommonDialogsFilter(const wxString& filterStr,
return filters.GetCount();
}
#if defined( __WINDOWS__ )
#if defined(__WINDOWS__) && !(defined(__UNIX__) || defined(__OS2__))
static bool wxCheckWin32Permission(const wxString& path, DWORD access)
{
// quoting the MSDN: "To obtain a handle to a directory, call the