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:
@@ -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
|
||||
|
Reference in New Issue
Block a user