Merge pull request #2668 from lambdageek/dev/monoerror-mono_security
[mono.git] / support / stdlib.c
index 9ab875cab404568536fa1633cea40c5a9c1eb8f9..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);
 }
 
-#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
 
 /*