G_BEGIN_DECLS
-#ifndef PLATFORM_WIN32
+#ifndef HOST_WIN32
gint32
Mono_Posix_Syscall_L_ctermid (void)
{
gint32
Mono_Posix_Syscall_L_cuserid (void)
{
+#ifdef __APPLE__
+ return -1;
+#else
return L_cuserid;
+#endif
}
-#endif /* ndef PLATFORM_WIN32 */
+#endif /* ndef HOST_WIN32 */
mph_size_t
Mono_Posix_Stdlib_fread (unsigned char *ptr, mph_size_t size, mph_size_t nmemb, void *stream)