browser(firefox): fix build on Windows (#5275)
This commit is contained in:
Родитель
cb1b64289c
Коммит
bbfbb1b2f7
|
@ -1,2 +1,2 @@
|
|||
1227
|
||||
Changed: lushnikov@chromium.org Mon 01 Feb 2021 03:46:01 PM PST
|
||||
1228
|
||||
Changed: lushnikov@chromium.org Wed Feb 3 08:52:41 MST 2021
|
||||
|
|
|
@ -110,8 +110,8 @@ nsresult nsRemoteDebuggingPipe::Init(nsIRemoteDebuggingPipeClient* aClient) {
|
|||
#if defined(_WIN32)
|
||||
CHAR pipeReadStr[20];
|
||||
CHAR pipeWriteStr[20];
|
||||
GetEnvironmentVariable("PW_PIPE_READ", pipeReadStr, 20);
|
||||
GetEnvironmentVariable("PW_PIPE_WRITE", pipeWriteStr, 20);
|
||||
GetEnvironmentVariableA("PW_PIPE_READ", pipeReadStr, 20);
|
||||
GetEnvironmentVariableA("PW_PIPE_WRITE", pipeWriteStr, 20);
|
||||
readHandle = reinterpret_cast<HANDLE>(atoi(pipeReadStr));
|
||||
writeHandle = reinterpret_cast<HANDLE>(atoi(pipeWriteStr));
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче