forked from OSchip/llvm-project
Define PATH_MAX on windows
Differential Revision: https://reviews.llvm.org/D25372 llvm-svn: 283600
This commit is contained in:
parent
da11412243
commit
5860aef675
|
@ -339,3 +339,9 @@ else ()
|
|||
COMPILE_FLAGS "-w"
|
||||
)
|
||||
endif ()
|
||||
|
||||
if(MSVC)
|
||||
# In the Windows API (with some exceptions), the maximum length for a path is
|
||||
# MAX_PATH, which is defined as 260 characters.
|
||||
target_compile_definitions(PollyPPCG PUBLIC "-DPATH_MAX=260")
|
||||
endif ()
|
||||
|
|
Loading…
Reference in New Issue