mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
browser(firefox): fix build on Windows (#5275)
This commit is contained in:
parent
cb1b64289c
commit
bbfbb1b2f7
@ -1,2 +1,2 @@
|
|||||||
1227
|
1228
|
||||||
Changed: lushnikov@chromium.org Mon 01 Feb 2021 03:46:01 PM PST
|
Changed: lushnikov@chromium.org Wed Feb 3 08:52:41 MST 2021
|
||||||
|
@ -110,8 +110,8 @@ nsresult nsRemoteDebuggingPipe::Init(nsIRemoteDebuggingPipeClient* aClient) {
|
|||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
CHAR pipeReadStr[20];
|
CHAR pipeReadStr[20];
|
||||||
CHAR pipeWriteStr[20];
|
CHAR pipeWriteStr[20];
|
||||||
GetEnvironmentVariable("PW_PIPE_READ", pipeReadStr, 20);
|
GetEnvironmentVariableA("PW_PIPE_READ", pipeReadStr, 20);
|
||||||
GetEnvironmentVariable("PW_PIPE_WRITE", pipeWriteStr, 20);
|
GetEnvironmentVariableA("PW_PIPE_WRITE", pipeWriteStr, 20);
|
||||||
readHandle = reinterpret_cast<HANDLE>(atoi(pipeReadStr));
|
readHandle = reinterpret_cast<HANDLE>(atoi(pipeReadStr));
|
||||||
writeHandle = reinterpret_cast<HANDLE>(atoi(pipeWriteStr));
|
writeHandle = reinterpret_cast<HANDLE>(atoi(pipeWriteStr));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user