https://git.reactos.org/?p=reactos.git;a=commitdiff;h=43ea86440535c37e0f61dd...
commit 43ea86440535c37e0f61dddda99a22b5355c58b5 Author: Jérôme Gardou jerome.gardou@reactos.org AuthorDate: Thu Mar 4 17:38:33 2021 +0100 Commit: Jérôme Gardou jerome.gardou@reactos.org CommitDate: Thu Mar 4 17:41:25 2021 +0100
[DBGHELP] Fix use of unix path --- dll/win32/dbghelp/module.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dll/win32/dbghelp/module.c b/dll/win32/dbghelp/module.c index bf3cf8852e4..a74b12d6663 100644 --- a/dll/win32/dbghelp/module.c +++ b/dll/win32/dbghelp/module.c @@ -542,7 +542,11 @@ static BOOL image_check_debug_link(const WCHAR* file, struct image_file_map* fma */ static BOOL image_locate_debug_link(const struct module* module, struct image_file_map* fmap, const char* filename, DWORD crc) { +#ifndef __REACTOS__ static const WCHAR globalDebugDirW[] = {'/','u','s','r','/','l','i','b','/','d','e','b','u','g','/'}; +#else + static const WCHAR globalDebugDirW[] = {'\0'}; +#endif static const WCHAR dotDebugW[] = {'.','d','e','b','u','g','/'}; const size_t globalDebugDirLen = ARRAY_SIZE(globalDebugDirW); size_t filename_len, path_len;