fix: allocation to stack instead of heap in cn_slow_hash causing (#112)

older low end devices to crash
This commit is contained in:
cyan
2025-02-07 19:29:20 +01:00
committed by GitHub
parent 9301097ff5
commit 09c6d2e5f8

View File

@@ -199,5 +199,9 @@ include_directories(@prefix@/include/wownero_seed)
add_definitions(-DPOLYSEED_STATIC=ON)
add_definitions(-DMOBILE_WALLET_BUILD)
if (ANDROID OR IOS)
add_definitions(-DFORCE_USE_HEAP=1)
endif()
#Create a new global cmake flag that indicates building with depends
set (DEPENDS true)