More aligned_alloc changes to support Android
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 10 Aug 2020 14:14:17 +0000 (16:14 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 11 Aug 2020 06:17:03 +0000 (08:17 +0200)
commit399cddf444666cf1671c5281f7a8e78887b4f400
tree65ebaad9cc10527d575e4e21714ee73942783dde
parent4ab8b0b738fe4ae58588efb421fd7b1643b2ef66
More aligned_alloc changes to support Android

Move to posix_memalign for those platforms, in particular android,
that do not fully support c++17 std::aligned_alloc() (and are not windows)

see https://github.com/official-stockfish/Stockfish/issues/2860

closes https://github.com/official-stockfish/Stockfish/pull/2973

No functional change
src/misc.cpp