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

Fix build with mingw-64 on windows #731

Merged

Conversation

matthiasblaesing
Copy link
Member

mingw used to directly use the msvcrt implementation of swprintf which
does does not match the ANSI version. This was fixed in mingw-64 and
so this special case has to be removed.

mingw used to directly use the msvcrt implementation of swprintf which
does does not match the ANSI version. This was fixed in mingw-w64 and
so this special case has to be removed.
@matthiasblaesing matthiasblaesing merged commit 8a85b6e into java-native-access:master Nov 20, 2016
@matthiasblaesing matthiasblaesing deleted the fix_gcc_build branch February 2, 2017 19:15
mstyura pushed a commit to mstyura/jna that referenced this pull request Sep 9, 2024
…va-native-access#732)

Motivation:

The ByteBuf that is passed into the `writeToken(...)` method should use `BIG_ENDIAN` while at the moment it might use `LITTLE_ENDIAN`.


Modifications:

* Ensures that all buffers passed to the `QuicTokenHandler` are now big
endian
* Expose max connection it via static field in Quic class.

Result:

Fixes java-native-access#731.

---------

Co-authored-by: Norman Maurer <[email protected]>
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