Closed emlai closed 5 years ago
Without this the max macro defined on Windows will cause errors in LLVM headers:
max
c:\users\emlai\src\libs\llvm-8.0.0-windows-amd64-msvc15-libcmt-dbg\include\llvm\adt\stlextras.h(1438): warning C4003: not enough arguments for function-like macro invocation 'max' [C:\Users\emlai\src\ts-llvm\node_modules\llvm-node\build\llvm-node.vcxproj]
Thank you for your contribution. I assume your patch ensures that llvm-node works fine on windows?
Without this the
max
macro defined on Windows will cause errors in LLVM headers: