* aot-runtime.c (mono_aot_init): Use g_getenv to work on systems
without getenv.
svn path=/trunk/mono/; revision=134493
+2009-05-20 Miguel de Icaza <miguel@novell.com>
+
+ * aot-runtime.c (mono_aot_init): Use g_getenv to work on systems
+ without getenv.
+
2009-05-21 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_wrappers): Add StructureToPtr/PtrToStructure wrappers.
mono_install_assembly_load_hook (load_aot_module, NULL);
- if (getenv ("MONO_LASTAOT"))
- mono_last_aot_method = atoi (getenv ("MONO_LASTAOT"));
- if (getenv ("MONO_AOT_CACHE"))
+ if (g_getenv ("MONO_LASTAOT"))
+ mono_last_aot_method = atoi (g_getenv ("MONO_LASTAOT"));
+ if (g_getenv ("MONO_AOT_CACHE"))
use_aot_cache = TRUE;
}