[runtime] Fixed complex.h usage in MS's thread pool to work in Android.
authorJoão Matos <joao@tritao.eu>
Wed, 25 Mar 2015 14:02:08 +0000 (14:02 +0000)
committerJoão Matos <joao@tritao.eu>
Wed, 25 Mar 2015 14:04:40 +0000 (14:04 +0000)
commitdf23dc46c65c47f6170cf5dcd9cec6020aa10ad6
tree89278e40d2fea2bbee11b4ea111f12536af0c232
parent9577c879ee992fa3c7ee1a4289505e71ff8fa52c
[runtime] Fixed complex.h usage in MS's thread pool to work in Android.

Android does not provide complex.h in the API levels that we compile against so bundle our own header (based on the one from FreeBSD).

Turns out GCC already provides built-in handling for the complex functions used by the code so there's no need to provide our own implementations.
mono/metadata/threadpool-microsoft.c
support/libm/complex.h [new file with mode: 0644]