Bottleneck module loader platform macros
authorAndi McClure <andi.mcclure@xamarin.com>
Mon, 18 Jan 2016 15:54:51 +0000 (10:54 -0500)
committerAndi McClure <andi.mcclure@xamarin.com>
Mon, 18 Jan 2016 15:54:51 +0000 (10:54 -0500)
commit7a49816cd5a80fbed3a80c55d4cc735fa63decd7
tree44c6221da6530654f2ac3828afd5f93ac2405c4c
parent5d6a5f6b0de0ff946eb96f1a190e241e2ded1102
Bottleneck module loader platform macros

processes.c contains implementations for module loading for several
platforms. Rather than scattering PLATFORM_MACOSX etc through the
file, pick a loader at the top of the file and base #ifs on that. This
makes BSD code clearer and makes it easier to special-case OS variants
where the normal loader is not available.
mono/io-layer/processes.c