diff options
Diffstat (limited to 'deps/v8/src/platform.h')
-rw-r--r-- | deps/v8/src/platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/platform.h b/deps/v8/src/platform.h index 1091ba6fb..b75867cfc 100644 --- a/deps/v8/src/platform.h +++ b/deps/v8/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. |