diff --git a/src/common/platform/Platform.h b/src/common/platform/Platform.h index 9016cd3c2..272555242 100644 --- a/src/common/platform/Platform.h +++ b/src/common/platform/Platform.h @@ -39,6 +39,8 @@ namespace Platform bool ReadFile(std::vector &fileData, ByteString filename); bool WriteFile(const std::vector &fileData, ByteString filename); + // TODO: Remove these and switch to *A Win32 API variants when we stop fully supporting windows + // versions older than win10 1903, for example when win10 reaches EOL, see 18084d5aa0e5. ByteString WinNarrow(const std::wstring &source); std::wstring WinWiden(const ByteString &source);