Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Commit

Permalink
Fix dist-i686-linux build due to missing PATH_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Nov 9, 2018
1 parent 272d3ff commit 7f23313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dsymutil/DwarfLinker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,7 @@ PointerIntPair<DeclContext *, 1> DeclContextTree::getChildDeclContext(
File);
(void)gotFileName;
assert(gotFileName && "Must get file name from line table");
#ifdef HAVE_REALPATH
#if defined(HAVE_REALPATH) && defined(PATH_MAX)
char RealPath[PATH_MAX + 1];
RealPath[PATH_MAX] = 0;
if (::realpath(File.c_str(), RealPath))
Expand Down

0 comments on commit 7f23313

Please sign in to comment.