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

Add Windows build support #26

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

Add Windows build support #26

wants to merge 1 commit into from

Conversation

Draiget
Copy link

@Draiget Draiget commented Oct 18, 2021

I had the same issues as in #23, after little research of error messages I've found couple specific windows defines break building. Added straightforward fixes, probably not the best ones.

Build tested with:

cmake -DUSE_SYSTEM_HTTPMOCKSERVER=NO -DBUILD_ELASTICLIENT_TESTS=NO -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_WINSSL=YES -DUSE_OPENSSL=NO

For x86:

 -A WIN32 ..

Not sure which definition are best, so picked __GNUC__.

@chifuyu74 chifuyu74 mentioned this pull request Aug 5, 2022
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