Skip to content

Conversation

@noobpwnftw
Copy link
Contributor

@noobpwnftw noobpwnftw commented Mar 3, 2021

We override API availability when including headers for Windows APIs.
This patch disables the functions related to large pages on all 32-bit Windows targets because on those platforms, using large pages requires a different mechanism(AWE) and the API we currently use is not available under XP.
Fixes #3379.

No functional change.

@QuackQuackBlah
Copy link

@noobpwnftw Perhaps you want to mark this PR as potentially fixing #3379? (I'm honestly not sure, but it makes logical sense in my brain as something to do)

@noobpwnftw
Copy link
Contributor Author

@QuackQuackBlah I'm waiting on confirmation from that user yes. Added into commit message.

@Fanael
Copy link
Contributor

Fanael commented Mar 7, 2021

I can confirm that this patch allows the resulting binary to run under windows XP.

@vondele vondele added the to be merged Will be merged shortly label Mar 7, 2021
@vondele
Copy link
Member

vondele commented Mar 7, 2021

April 8, 2014 (we all remember).

@vondele vondele closed this in d4b864f Mar 7, 2021
@noobpwnftw noobpwnftw deleted the fix_win32 branch March 7, 2021 20:27
joergoster pushed a commit to joergoster/Stockfish-old that referenced this pull request Mar 8, 2021
verified to work on windows XP.

fixes  #3379

closes official-stockfish/Stockfish#3380

No functional change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

to be merged Will be merged shortly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

32 bit engine not compatible with Windows XP

4 participants