tondrej / chakracore-delphi

Delphi and Free Pascal bindings and classes for Microsoft's ChakraCore library
https://tondrej.blogspot.com/search/label/chakracore
MIT License
136 stars 34 forks source link

TOSVersion.TArchitecture compile error in Delphi 10.1 Berlin #1

Closed jonjbar closed 6 years ago

jonjbar commented 6 years ago

https://github.com/tondrej/chakracore-delphi/blob/57a4c4328c2ba42ec353da04516cfa353e6b276d/src/Compat.pas#L178

This line should be:

ArchitectureStrings: array[TOSVersion.TArchitecture] of string = ('x86', 'x64', 'arm32'{$ifdef DELPHIX_BERLIN_UP}, 'arm64'{$endif});

tondrej commented 6 years ago

Done. Thanks!