]> git.saurik.com Git - wxWidgets.git/commitdiff
don't compile in wxCheckWin32Permission() when it's not used (as in cygwin builds...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 Nov 2006 03:14:48 +0000 (03:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 Nov 2006 03:14:48 +0000 (03:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index d690e66d9dbbbd037eac7feacffee58895923c5c..8a8b921abf5ad0d2461b3a9fe855cb22474c9dff 100644 (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