Index: runtime/bin/file_patch.dart |
diff --git a/runtime/bin/file_patch.dart b/runtime/bin/file_patch.dart |
index ed8e3a0590f1807b849b4536782932d8df5c3a4e..2ca3e58175e4a0a9c4fa1251d912aa3e038ff72b 100644 |
--- a/runtime/bin/file_patch.dart |
+++ b/runtime/bin/file_patch.dart |
@@ -38,6 +38,8 @@ patch class _RandomAccessFile { |
/* patch */ static _truncate(int id, int length) native "File_Truncate"; |
/* patch */ static _length(int id) native "File_Length"; |
/* patch */ static _flush(int id) native "File_Flush"; |
+ /* patch */ static _lock(int id, int lock, int start, int end) |
+ native "File_Lock"; |
} |