#ifndef _MONO_METADATA_ENVIRONMENT_H_
#define _MONO_METADATA_ENVIRONMENT_H_
-G_BEGIN_DECLS
+#include <mono/utils/mono-publib.h>
-extern gint32 mono_environment_exitcode_get (void);
-extern void mono_environment_exitcode_set (gint32 value);
+MONO_BEGIN_DECLS
-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);
-extern gint32 ves_icall_System_Environment_get_ProcessorCount(void);
-
-G_END_DECLS
+MONO_END_DECLS
#endif /* _MONO_METADATA_ENVIRONMENT_H_ */