Index: src/platform.h |
diff --git a/src/platform.h b/src/platform.h |
index d63ca5e617358f98510404b9abc9fd89af2bcdb4..7539fd2ddb4d29132c22635a54a6155d52772f04 100644 |
--- a/src/platform.h |
+++ b/src/platform.h |
@@ -165,6 +165,9 @@ class OS { |
// Returns the daylight savings offset for the given time. |
static double DaylightSavingsOffset(double time); |
+ // Returns last OS error. |
+ static int GetLastError(); |
+ |
static FILE* FOpen(const char* path, const char* mode); |
// Log file open mode is platform-dependent due to line ends issues. |