Skip to content

Commit

Permalink
Fix Win32 build. (#1929)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Corry authored Oct 20, 2023
1 parent 3ee4097 commit df3a4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/pipe_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class CopyPipeState {
HANDLE to_;
};

static DWORD copy_pipe_thread(void* data) {
static DWORD __attribute__((stdcall)) copy_pipe_thread(void* data) {
auto state = reinterpret_cast<CopyPipeState*>(data);
DWORD result = state->copy_loop();
delete state;
Expand Down

0 comments on commit df3a4a3

Please sign in to comment.