X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Fstdlib.c;h=0c4358a51402d3d7b2b577db88eef64497857af2;hb=b9dd48c9c44bbc9c057aee9bd834de7966ae8565;hp=9ab875cab404568536fa1633cea40c5a9c1eb8f9;hpb=0ca4c0c5ef6ba0bf13fd721deb36e7b501ec5829;p=mono.git diff --git a/support/stdlib.c b/support/stdlib.c index 9ab875cab40..0c4358a5140 100644 --- a/support/stdlib.c +++ b/support/stdlib.c @@ -9,10 +9,18 @@ #include +#include "map.h" #include "mph.h" G_BEGIN_DECLS +// See Stdlib.cs +void* +Mono_Unix_VersionString () +{ + return "MonoProject-2015-12-1"; +} + gint32 Mono_Posix_Stdlib_EXIT_FAILURE (void) { @@ -64,16 +72,6 @@ Mono_Posix_Stdlib_realloc (void* ptr, mph_size_t size) return realloc (ptr, (size_t) size); } -#ifdef HAVE_SETKEY -int -Mono_Posix_Syscall_setkey (const char* key) -{ - errno = 0; - setkey (key); - return errno == 0 ? 0 : -1; -} -#endif /* ndef HAVE_SETKEY */ - G_END_DECLS /*