mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[DBGHELP] Fix use of unix path
This commit is contained in:
parent
69ca7258d0
commit
43ea864405
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
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','/'};
|
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','/'};
|
static const WCHAR dotDebugW[] = {'.','d','e','b','u','g','/'};
|
||||||
const size_t globalDebugDirLen = ARRAY_SIZE(globalDebugDirW);
|
const size_t globalDebugDirLen = ARRAY_SIZE(globalDebugDirW);
|
||||||
size_t filename_len, path_len;
|
size_t filename_len, path_len;
|
||||||
|
|
Loading…
Reference in a new issue