Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1: Define the NOMINMAX macro for Windows builds #141

Open
wants to merge 1 commit into
base: v1
Choose a base branch
from

Conversation

thesan
Copy link

@thesan thesan commented Jan 16, 2025

Hello,

I have a niche case of the build failing on Windows due to the WinDef.h macro. It happens with the following configuration:

  • node: both 20 and 22
  • electron: 32 (it works with 31)
  • electron-builder: 25 (it works with 24)
  • node-gyp: both the 9.4.1 and also the patched @electron/[email protected]

Again this is niche but others seem to have experienced similar issues with different configurations (e.g serialport/node-serialport#2957). As a result I am submitting this patch.

FYI here is the PR where I experienced the issue: LedgerHQ/ledger-live#8748

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.

1 participant