[Lldb-commits] [lldb] f377edb - (lldb) Fix PATH_MAX for Windows (#104493)

via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 15 13:14:29 PDT 2024


Author: royitaqi
Date: 2024-08-15T13:14:26-07:00
New Revision: f377edb96abe9fd6fa458415f07b0f411e59cf24

URL: https://github.com/llvm/llvm-project/commit/f377edb96abe9fd6fa458415f07b0f411e59cf24
DIFF: https://github.com/llvm/llvm-project/commit/f377edb96abe9fd6fa458415f07b0f411e59cf24.diff

LOG: (lldb) Fix PATH_MAX for Windows (#104493)

The build break was caused by a [previous
patch](https://github.com/llvm/llvm-project/pull/102223) using
`PATH_MAX` which is undefined in Windows.

Added: 
    

Modified: 
    lldb/source/Utility/RealpathPrefixes.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Utility/RealpathPrefixes.cpp b/lldb/source/Utility/RealpathPrefixes.cpp
index 14c81ee6a1f571..ee1c404c899676 100644
--- a/lldb/source/Utility/RealpathPrefixes.cpp
+++ b/lldb/source/Utility/RealpathPrefixes.cpp
@@ -8,6 +8,7 @@
 
 #include "lldb/Utility/RealpathPrefixes.h"
 
+#include "lldb/Host/PosixApi.h"
 #include "lldb/Utility/FileSpec.h"
 #include "lldb/Utility/FileSpecList.h"
 #include "lldb/Utility/LLDBLog.h"


        


More information about the lldb-commits mailing list