MONO_BEGIN_DECLS
-extern int32_t mono_environment_exitcode_get (void);
-extern void mono_environment_exitcode_set (int32_t value);
-
-extern MonoString* ves_icall_System_Environment_GetOSVersionString (void);
+MONO_API extern int32_t mono_environment_exitcode_get (void);
+MONO_API extern void mono_environment_exitcode_set (int32_t value);
MONO_END_DECLS