Index: runtime/bin/file_macos.cc |
diff --git a/runtime/bin/file_macos.cc b/runtime/bin/file_macos.cc |
index 9b0b2ada0db3f5ddd445f0d380fc6acd4951ff96..830b3c408e81a344f83af0a08075bf140811d8e6 100644 |
--- a/runtime/bin/file_macos.cc |
+++ b/runtime/bin/file_macos.cc |
@@ -65,6 +65,11 @@ void File::Close() { |
} |
+intptr_t File::GetFD() { |
+ return handle_->fd(); |
+} |
+ |
+ |
bool File::IsClosed() { |
return handle_->fd() == kClosedFd; |
} |