Skip to content

Fix build with mingw-64 on windows#731

Merged
matthiasblaesing merged 1 commit intojava-native-access:masterfrom
matthiasblaesing:fix_gcc_build
Nov 20, 2016
Merged

Fix build with mingw-64 on windows#731
matthiasblaesing merged 1 commit intojava-native-access:masterfrom
matthiasblaesing:fix_gcc_build

Conversation

@matthiasblaesing
Copy link
Copy Markdown
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