On 2012-04-09 11:05, Johannes Pfau wrote:
* Adapting the core.stdc bindings to something different than the
currently supported C libraries sucks: The version blocks are
sometimes completely wrong. For example Android's bionic is a C
library based on BSD code, but running on Linux. As a result
sometimes the version(FreeBSD) blocks apply for bionic, but sometimes
the version(linux) blocks are right. I basically had to rewrite
the complete core.stdc bindings. This is an issue because druntime
and phobos do not distinguish between OS/Kernel and C library.
Is it possible to treat bionic as its own platform:
version (bionic) {}
else version (linux{}
and so on.
--
/Jacob Carlborg