Change getenv to g_getenv in sources build on Windows platforms. (#9253)
commite8c379d57f8bb5e0457179d891d391b0a4eae146
authorJohan Lorensson <lateralusx.github@gmail.com>
Fri, 22 Jun 2018 20:16:28 +0000 (22 22:16 +0200)
committerLudovic Henry <luhenry@microsoft.com>
Fri, 22 Jun 2018 20:16:28 +0000 (22 22:16 +0200)
tree05b94e2fdcba07e455c2b8b0bf2cdc59ba3daaa3
parentc6f1d112d2397ba93122a03bee0f89a7db4d2a79
Change getenv to g_getenv in sources build on Windows platforms. (#9253)

There are Windows platforms (like UWP) that doesn't support getenv. The implementation
of g_getenv makes it possible to replace the implementation at build time on
none desktop platforms.
mono/mini/interp/transform.c
mono/mini/main.c