[threads] Add function to stringify thread state names.
[mono.git] / mono / utils / mono-dl-darwin.c
index b1cd30f9045380899b30fbaf73bc20b224c24585..ff7028555c18d05f5a310a58a5caa2739e7cd4c0 100644 (file)
@@ -50,4 +50,15 @@ mono_dl_get_executable_path (char *buf, int buflen)
        return -1;
 }
 
+const char*
+mono_dl_get_system_dir (void)
+{
+#ifdef TARGET_IOS
+       /* IOS9 can't load system libraries using relative paths, i.e. 'libc' doesn't work, but '/usr/lib/libc' does. */
+       return "/usr/lib";
+#else
+       return NULL;
+#endif
+}
+
 #endif