AnyDSL / thorin

The Higher-Order Intermediate Representation
https://anydsl.github.io
GNU Lesser General Public License v3.0
151 stars 15 forks source link

Thorin does not build on Windows #155

Closed PearCoding closed 2 months ago

PearCoding commented 2 months ago

The current master version can not be built (with MSVC) on Windows.

The following patch fixes all of it. Feel free to merge it into master. I currently have no fork setup to do it myself (so it might take somewhile to do it from my side).

patch.patch

By the way. I am no fan of #if THORIN_ENABLE_RLIMITS expecting it to be 0 or 1. Rather use the #ifdef THORIN_ENABLE_RLIMITS for all except constants and modii. But that is just an opinion.