mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-27 02:09:54 +00:00
Define PATH_MAX on windows
Differential Revision: https://reviews.llvm.org/D25372 llvm-svn: 283600
This commit is contained in:
parent
da11412243
commit
5860aef675
6
polly/lib/External/CMakeLists.txt
vendored
6
polly/lib/External/CMakeLists.txt
vendored
@ -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
Block a user