llvm.org GIT mirror llvm / d840ad0
[llvm-config] Don't use PATH_MAX It doesn't exist on Windows. The number we use here doesn't really matter, the storage will expand automatically but 256 seems like a reasonable default. Should fix windows buildbots that complained about rL304458. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304468 91177308-0d34-0410-b5e6-96231b3b80d8 Keno Fischer 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
332332 } else {
333333 ActivePrefix = CurrentExecPrefix;
334334 ActiveIncludeDir = ActivePrefix + "/include";
335 SmallString<PATH_MAX> path(StringRef(LLVM_TOOLS_INSTALL_DIR));
335 SmallString<256> path(StringRef(LLVM_TOOLS_INSTALL_DIR));
336336 sys::fs::make_absolute(ActivePrefix, path);
337337 ActiveBinDir = path.str();
338338 ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX;