summaryrefslogtreecommitdiff
path: root/tools/source/fsys/wntmsc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/fsys/wntmsc.cxx')
-rwxr-xr-xtools/source/fsys/wntmsc.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/source/fsys/wntmsc.cxx b/tools/source/fsys/wntmsc.cxx
index 2ddea1cbe540..babc17e107ea 100755
--- a/tools/source/fsys/wntmsc.cxx
+++ b/tools/source/fsys/wntmsc.cxx
@@ -567,9 +567,7 @@ FileStat::FileStat( const void *pInfo, // struct dirent
#pragma warning(push, 1)
#pragma warning(disable: 4917)
#endif
-#define ULONG WIN_ULONG
#include <shlobj.h>
-#undef ULONG
#ifdef _MSC_VER
#pragma warning(pop)
#endif
@@ -608,7 +606,7 @@ HRESULT SHGetIDListFromPath( HWND hwndOwner, LPCTSTR pszPath, LPITEMIDLIST *ppid
if ( FAILED(hResult) )
return hResult;
- WIN_ULONG chEaten = lstrlen( pszPath );
+ ULONG chEaten = lstrlen( pszPath );
DWORD dwAttributes = FILE_ATTRIBUTE_DIRECTORY;
#ifdef UNICODE