projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restructure of mono.sln and build properties to better fix static/dynamic library...
[mono.git]
/
support
/
stdio.c
diff --git
a/support/stdio.c
b/support/stdio.c
index b7cc689deb51087588140936b4f99f1cd10d5bf8..590ff8cf821dca7ef57b2182caadf3b6151bc52f 100644
(file)
--- a/
support/stdio.c
+++ b/
support/stdio.c
@@
-16,23
+16,25
@@
G_BEGIN_DECLS
G_BEGIN_DECLS
-#ifndef HOST_WIN32
gint32
Mono_Posix_Syscall_L_ctermid (void)
{
gint32
Mono_Posix_Syscall_L_ctermid (void)
{
+#ifndef HOST_WIN32
return L_ctermid;
return L_ctermid;
+#else
+ return -1;
+#endif
}
gint32
Mono_Posix_Syscall_L_cuserid (void)
{
}
gint32
Mono_Posix_Syscall_L_cuserid (void)
{
-#if defined(__APPLE__) || defined (__OpenBSD__)
+#if defined(__APPLE__) || defined (__OpenBSD__)
|| defined (HOST_WIN32)
return -1;
#else
return L_cuserid;
#endif
}
return -1;
#else
return L_cuserid;
#endif
}
-#endif /* ndef HOST_WIN32 */
mph_size_t
Mono_Posix_Stdlib_fread (unsigned char *ptr, mph_size_t size, mph_size_t nmemb, void *stream)
mph_size_t
Mono_Posix_Stdlib_fread (unsigned char *ptr, mph_size_t size, mph_size_t nmemb, void *stream)