[merp] Use macOS version not Darwin version in MERP reports (#17130)
commit0004522028ad30bfb7299a6e50cbab98a63ffeaf
authorKyle White <kdubau@gmail.com>
Wed, 2 Oct 2019 02:01:35 +0000 (1 22:01 -0400)
committerAleksey Kliger (λgeek) <alklig@microsoft.com>
Wed, 2 Oct 2019 02:01:35 +0000 (1 22:01 -0400)
treedb3fac4118f54ecb0c3d01660db58dac1d42f282
parentc76b84e80c147b4feb1421327fc76d3ec2ad93b3
[merp] Use macOS version not Darwin version in MERP reports (#17130)

* Use macOS version not Darwin version in MERP

Fixes #17004

* Update mono-merp.c

Ensure this is only for Mac

* Don't allocate in macos_version_string

Use a static buffer.

Also some formatting fixes.
mono/utils/mono-merp.c