Support deserializing relative Uris. Fixes #15169.
[mono.git] / support / fcntl.c
index 013d9cd416793007bae98ab55c4011339ffa7af7..12947991c00fa9387a9d1b2896e2c008e5313256 100644 (file)
@@ -100,6 +100,16 @@ Mono_Posix_Syscall_open_mode (const char *pathname, gint32 flags, guint32 mode)
        return open (pathname, flags, mode);
 }
 
+gint32
+Mono_Posix_Syscall_get_at_fdcwd ()
+{
+#ifdef AT_FDCWD
+       return AT_FDCWD;
+#else
+       return -1;
+#endif
+}
+
 gint32
 Mono_Posix_Syscall_creat (const char *pathname, guint32 mode)
 {