mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 23:15:38 +00:00
Merge pull request #3877 from chris-jones-arm/development
Fix _POSIX_C_SOURCE typos
This commit is contained in:
commit
7af3764f9e
|
@ -84,7 +84,7 @@ void mbedtls_platform_zeroize( void *buf, size_t len )
|
||||||
|
|
||||||
#if !( ( defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L ) || \
|
#if !( ( defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L ) || \
|
||||||
( defined(_POSIX_THREAD_SAFE_FUNCTIONS ) && \
|
( defined(_POSIX_THREAD_SAFE_FUNCTIONS ) && \
|
||||||
_POSIX_THREAD_SAFE_FUNCTIONS >= 20112L ) )
|
_POSIX_THREAD_SAFE_FUNCTIONS >= 200112L ) )
|
||||||
/*
|
/*
|
||||||
* This is a convenience shorthand macro to avoid checking the long
|
* This is a convenience shorthand macro to avoid checking the long
|
||||||
* preprocessor conditions above. Ideally, we could expose this macro in
|
* preprocessor conditions above. Ideally, we could expose this macro in
|
||||||
|
@ -98,7 +98,7 @@ void mbedtls_platform_zeroize( void *buf, size_t len )
|
||||||
|
|
||||||
#endif /* !( ( defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L ) || \
|
#endif /* !( ( defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L ) || \
|
||||||
( defined(_POSIX_THREAD_SAFE_FUNCTIONS ) && \
|
( defined(_POSIX_THREAD_SAFE_FUNCTIONS ) && \
|
||||||
_POSIX_THREAD_SAFE_FUNCTIONS >= 20112L ) ) */
|
_POSIX_THREAD_SAFE_FUNCTIONS >= 200112L ) ) */
|
||||||
|
|
||||||
struct tm *mbedtls_platform_gmtime_r( const mbedtls_time_t *tt,
|
struct tm *mbedtls_platform_gmtime_r( const mbedtls_time_t *tt,
|
||||||
struct tm *tm_buf )
|
struct tm *tm_buf )
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
#if !( ( defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L ) || \
|
#if !( ( defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L ) || \
|
||||||
( defined(_POSIX_THREAD_SAFE_FUNCTIONS ) && \
|
( defined(_POSIX_THREAD_SAFE_FUNCTIONS ) && \
|
||||||
_POSIX_THREAD_SAFE_FUNCTIONS >= 20112L ) )
|
_POSIX_THREAD_SAFE_FUNCTIONS >= 200112L ) )
|
||||||
/*
|
/*
|
||||||
* This is a convenience shorthand macro to avoid checking the long
|
* This is a convenience shorthand macro to avoid checking the long
|
||||||
* preprocessor conditions above. Ideally, we could expose this macro in
|
* preprocessor conditions above. Ideally, we could expose this macro in
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
#endif /* !( ( defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L ) || \
|
#endif /* !( ( defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L ) || \
|
||||||
( defined(_POSIX_THREAD_SAFE_FUNCTIONS ) && \
|
( defined(_POSIX_THREAD_SAFE_FUNCTIONS ) && \
|
||||||
_POSIX_THREAD_SAFE_FUNCTIONS >= 20112L ) ) */
|
_POSIX_THREAD_SAFE_FUNCTIONS >= 200112L ) ) */
|
||||||
|
|
||||||
#endif /* MBEDTLS_HAVE_TIME_DATE && !MBEDTLS_PLATFORM_GMTIME_R_ALT */
|
#endif /* MBEDTLS_HAVE_TIME_DATE && !MBEDTLS_PLATFORM_GMTIME_R_ALT */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue