Skip to content

Conversation

sertonix
Copy link

Issue #, and/or reason for changes (REQUIRED): Otherwise on 32-bit musl-libc the function declaration would be incorrect, causing a 32-bit time_t compat function to be called.

Description of changes: It seems like the only part missing to use the libc provided one was to define _DEFAULT_SOURCE.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

It seems like the only part missing to use the libc provided one was
to define _DEFAULT_SOURCE. Otherwise on 32-bit musl-libc the function
declaration would be incorrect, causing a 32-bit time_t compat function
to be called.

Signed-off-by: Sertonix <[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