From 8736eb147938fb79da8ea081eb8ea378e4d8aa20 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 22 Feb 2011 12:10:44 +0000 Subject: [PATCH] VC6 build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 2a424aa29f..090231f59d 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1826,6 +1826,11 @@ int WXDLLEXPORT wxParseCommonDialogsFilter(const wxString& filterStr, } #if defined(__WINDOWS__) && !(defined(__UNIX__) || defined(__OS2__)) + +#ifndef INVALID_FILE_ATTRIBUTES +#define INVALID_FILE_ATTRIBUTES ((DWORD)-1) +#endif + static bool wxCheckWin32Permission(const wxString& path, DWORD access) { // quoting the MSDN: "To obtain a handle to a directory, call the