Skip to content

Commit 5ecfd5f

Browse files
tobil4skdimensionscape
authored andcommitted
Fix hxcpp_get_bin_dir for windows arm64
HaxeFoundation/hxcpp#1400 Fixes #31
1 parent 566f531 commit 5ecfd5f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎Changes.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ The first libhxcpp version. It is based on hxcpp 4.3 (the changes listed under 4
196196
* Fixed the cppia JIT allocating unaligned objects in the nursery, which a conservative scan could misread (hxcpp #1411)
197197
* Fixed the cppia JIT failing to load a module that converts an Int subtraction to a String, with Bad move target (hxcpp #1369)
198198
* Fixed the cppia JIT storing a Bool constant in an Array<Any> as a number (hxcpp #1371)
199+
* Fixed cpp.Lib.load looking for ndlls in Windows64 on Windows ARM64 instead of WindowsArm64 (hxcpp #1400)
199200
* Added the libhxcpp define: a build that uses the library gets -D libhxcpp=<version>. Compare it with version("x.y.z"); a plain string comparison compares text
200201
* Added separate Linux ARMv7 and ARM64 build architectures (hxcpp #1355)
201202
* Fixed AndroidCompat.cpp closing its extern "C" section in the wrong place (hxcpp #1404)

‎src/hx/Lib.cpp‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,9 @@ String __hxcpp_get_bin_dir()
485485
HX_CSTRING("WinRT");
486486
#endif
487487
#elif defined(_WIN32)
488-
#ifdef HXCPP_M64
488+
#ifdef HXCPP_ARM64
489+
HX_CSTRING("WindowsArm64");
490+
#elif defined(HXCPP_M64)
489491
HX_CSTRING("Windows64");
490492
#else
491493
HX_CSTRING("Windows");

0 commit comments

Comments
 (0)