Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'windirstat/globalhelpers.cpp')
-rw-r--r--windirstat/globalhelpers.cpp4
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;