This is an archive of the discontinued LLVM Phabricator instance.

[Polly] Define PATH_MAX on windows
ClosedPublic

Authored by etherzhhb on Oct 7 2016, 10:49 AM.

Details

Summary

Define PATH_MAX on windows such that we can compile Polly on windows with MSVC!

Diff Detail

Repository
rL LLVM

Event Timeline

etherzhhb updated this revision to Diff 73954.Oct 7 2016, 10:49 AM
etherzhhb retitled this revision from to [Polly] Define PATH_MAX on windows.
etherzhhb updated this object.
etherzhhb set the repository for this revision to rL LLVM.
etherzhhb added a project: Restricted Project.
etherzhhb added a subscriber: Restricted Project.
Meinersbur accepted this revision.Oct 7 2016, 12:27 PM
Meinersbur edited edge metadata.

I'd personally prefer target_compile_definitions, but this works as well.

This revision is now accepted and ready to land.Oct 7 2016, 12:27 PM
etherzhhb updated this revision to Diff 73971.Oct 7 2016, 12:33 PM
etherzhhb edited edge metadata.

Do you mean something like this?

Yes, exactly. It the macro to where it is needed. Thanks.

This revision was automatically updated to reflect the committed changes.