Provide a reasonable value for PATH_MAX if the lldb headers don't provide it.
authorJim Ingham <jingham@apple.com>
Thu, 29 Oct 2020 22:02:51 +0000 (15:02 -0700)
committerJim Ingham <jingham@apple.com>
Thu, 29 Oct 2020 22:02:51 +0000 (15:02 -0700)
lldb/test/API/api/multithreaded/test_stop-hook.cpp.template

index 8b60421..393e717 100644 (file)
 
 #include "common.h"
 
+#if !defined(PATH_MAX)
+#define PATH_MAX 4096
+#endif
+
 using namespace lldb;
 
 void test(SBDebugger &dbg, std::vector<std::string> args) {