diff options
Diffstat (limited to 'windirstat/globalhelpers.cpp')
-rw-r--r-- | windirstat/globalhelpers.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/windirstat/globalhelpers.cpp b/windirstat/globalhelpers.cpp index 1404c53..d02880c 100644 --- a/windirstat/globalhelpers.cpp +++ b/windirstat/globalhelpers.cpp @@ -553,6 +553,10 @@ bool DriveExists(const CString& path) return true; } +#ifndef UNLEN +# define UNLEN MAX_PATH +#endif + CString GetUserName() { CString s; |