From fa5a13276764a2657b3571fa3c57b07ee5d2d661 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Thu, 29 Oct 2020 15:02:51 -0700 Subject: [PATCH] Provide a reasonable value for PATH_MAX if the lldb headers don't provide it. --- lldb/test/API/api/multithreaded/test_stop-hook.cpp.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/test/API/api/multithreaded/test_stop-hook.cpp.template b/lldb/test/API/api/multithreaded/test_stop-hook.cpp.template index 8b60421..393e717 100644 --- a/lldb/test/API/api/multithreaded/test_stop-hook.cpp.template +++ b/lldb/test/API/api/multithreaded/test_stop-hook.cpp.template @@ -12,6 +12,10 @@ #include "common.h" +#if !defined(PATH_MAX) +#define PATH_MAX 4096 +#endif + using namespace lldb; void test(SBDebugger &dbg, std::vector args) { -- 2.7.4