Index: src/platform.h |
diff --git a/src/platform.h b/src/platform.h |
index 30c501162c793fdc0cb4f88051ee8b7c4c833d78..c7fe984c45bf248e90d95e756f5e5cb7a39a35f3 100644 |
--- a/src/platform.h |
+++ b/src/platform.h |
@@ -177,6 +177,9 @@ class OS { |
static FILE* FOpen(const char* path, const char* mode); |
static bool Remove(const char* path); |
+ // Opens a temporary file, the file is auto removed on close. |
+ static FILE* OpenTemporaryFile(); |
+ |
// Log file open mode is platform-dependent due to line ends issues. |
static const char* const LogFileOpenMode; |