blob: a0c89135538a3acf55ed404bd1b29df9b9ecb0bb [file] [log] [blame]
From 1bcebd98fee4e97be94be19ade983c142d3f2892 Mon Sep 17 00:00:00 2001
From: Johannes Schindelin <johannes.schindelin@gmx.de>
Date: Sat, 14 Apr 2018 20:40:00 +0200
Subject: [PATCH 21/23] Use wide-character Win32 API functions to handle
`wchar_t *`
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
deps/v8/src/base/debug/stack_trace_win.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/deps/v8/src/base/debug/stack_trace_win.cc b/deps/v8/src/base/debug/stack_trace_win.cc
index 64e63091..8110ef29 100644
--- a/deps/v8/src/base/debug/stack_trace_win.cc
+++ b/deps/v8/src/base/debug/stack_trace_win.cc
@@ -50,9 +50,9 @@ long WINAPI StackDumpExceptionFilter(EXCEPTION_POINTERS* info) { // NOLINT
}
void GetExePath(wchar_t* path_out) {
- GetModuleFileName(nullptr, path_out, MAX_PATH);
+ GetModuleFileNameW(nullptr, path_out, MAX_PATH);
path_out[MAX_PATH - 1] = L'\0';
- PathRemoveFileSpec(path_out);
+ PathRemoveFileSpecW(path_out);
}
bool InitializeSymbols() {
--
2.17.0.windows.1