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

Check for Windows using _WIN32 instead of _WINDOWS #9

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

hrxi
Copy link

@hrxi hrxi commented Nov 5, 2023

_WINDOWS isn't guaranteed to be defined when building for Windows.

https://stackoverflow.com/q/73705992

Additionally, #include <WinBase.h> is unnecessary; #include <Windows.h> already covers it.

https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/aa366877(v=vs.85)

`_WINDOWS` isn't guaranteed to be defined when building for Windows.

https://stackoverflow.com/q/73705992

Additionally, `#include <WinBase.h>` is unnecessary; `#include
<Windows.h>` already covers it.

https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/aa366877(v=vs.85)
@Neustradamus
Copy link

@mar-v-in, @fiaxh: What do you think about this PR?

@mar-v-in mar-v-in merged commit 745b476 into dino:omemo Feb 20, 2025
@Neustradamus
Copy link

@mar-v-in: Thanks after the long time!

Do not forget this @Ri0n PR too:

A lot of people would like the latest OMEMO version:

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.

3 participants