[utils] Default to g_print in mono_counters_dump if the stream is NULL (#2178)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 27 Jan 2020 18:25:00 +0000 (13:25 -0500)
committerRyan Lucia <rylucia@microsoft.com>
Mon, 27 Jan 2020 18:25:00 +0000 (13:25 -0500)
commitf637e66d529be981f4ada31f10c8226262c5e601
tree2b47b9442392659e4f4099a61acf688a8251b0d8
parente160c443c931dd81733da3c1a862e52db18cff71
[utils] Default to g_print in mono_counters_dump if the stream is NULL (#2178)

This makes `mono_counters_dump` actually work on Android. If either this added default behavior or the macro is too terrible I can explore other options, but I'm tired and this was fast.

Co-authored-by: Ryan Lucia <ryan@luciaonline.net>
src/mono/mono/utils/mono-counters.c