Skip to content

chore: make lpthread optional if using windows with clang#65

Merged
richard-ramos merged 2 commits intomainfrom
fix/lpthread
Feb 24, 2026
Merged

chore: make lpthread optional if using windows with clang#65
richard-ramos merged 2 commits intomainfrom
fix/lpthread

Conversation

@richard-ramos
Copy link
Member

@richard-ramos richard-ramos commented Feb 24, 2026

Also removes _WIN32_WINNT as it is not needed
as seen in status-im/nimbus-eth2#8025

cc: @tersec

Copilot AI review requested due to automatic review settings February 24, 2026 14:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies Windows-specific compilation flags in the lsquic FFI bindings to make pthread linking conditional on the clang compiler and removes the _WIN32_WINNT macro definition. The changes aim to improve Windows build compatibility across different compiler toolchains.

Changes:

  • Made pthread library linking conditional on clang compiler for Windows builds
  • Removed the _WIN32_WINNT=0x0600 Windows version macro definition

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Also removes _WIN32_WINNT... maybe it's unneeded now?
Copilot AI review requested due to automatic review settings February 24, 2026 14:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@richard-ramos richard-ramos marked this pull request as ready for review February 24, 2026 18:33
@richard-ramos richard-ramos requested a review from a team as a code owner February 24, 2026 18:33
@richard-ramos richard-ramos requested review from Copilot, gmelodie and vladopajic and removed request for a team February 24, 2026 18:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@richard-ramos richard-ramos merged commit 49e7b01 into main Feb 24, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants