Merge pull request #2668 from lambdageek/dev/monoerror-mono_security
[mono.git] / support / stdlib.c
index 55d866428fc48f542afc27d3708824c7f6b7239a..0c4358a51402d3d7b2b577db88eef64497857af2 100644 (file)
@@ -9,10 +9,18 @@
 
 #include <stdlib.h>
 
+#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);
 }
 
-#ifndef PLATFORM_WIN32
-int
-Mono_Posix_Syscall_setkey (const char* key)
-{
-       errno = 0;
-       setkey (key);
-       return errno == 0 ? 0 : -1;
-}
-#endif /* ndef PLATFORM_WIN32 */
-
 G_END_DECLS
 
 /*