]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/CommonLib.h: Build failed due to MAX_LONG_FILE_PATH
authorEnze Zhu <zhuenze@byosoft.com.cn>
Thu, 17 Dec 2020 02:19:52 +0000 (10:19 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 6 Jan 2021 04:01:12 +0000 (04:01 +0000)
commit020ec963048340c9eaf9799471167d769239bcfc
treec7f4597b43bb42973d2e869f83f236650e22ded1
parent21e1dc286e799830bb159e3afc6f1be71a3c382a
BaseTools/CommonLib.h: Build failed due to MAX_LONG_FILE_PATH

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3032

We had a build fail due to the hard coded MAX_LONG_FILE_PATH value.
We should use PATH_MAX if it is available.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Enze Zhu <zhuenze@byosoft.com.cn>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/C/Common/CommonLib.h