Document shorthand gmtime macros
This commit is contained in:
parent
8c9a620fb6
commit
ca04a01bb8
3 changed files with 28 additions and 9 deletions
|
@ -100,13 +100,18 @@ extern int (*mbedtls_mutex_unlock)( mbedtls_threading_mutex_t *mutex );
|
|||
extern mbedtls_threading_mutex_t mbedtls_threading_readdir_mutex;
|
||||
#endif
|
||||
#if defined(MBEDTLS_HAVE_TIME_DATE)
|
||||
#if !defined(_WIN32) && (defined(__unix__) || \
|
||||
(defined(__APPLE__) && defined(__MACH__)))
|
||||
#if !defined(_WIN32) && (defined(unix) || defined(__unix) || \
|
||||
defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)))
|
||||
#include <unistd.h>
|
||||
#if !defined(_POSIX_VERSION) || 200112L > _POSIX_THREAD_SAFE_FUNCTIONS
|
||||
/*
|
||||
* The preprocessor conditions above are the same as in platform_utils.c and
|
||||
* threading.c. Remember to update the code there when changing the conditions
|
||||
* here
|
||||
*/
|
||||
extern mbedtls_threading_mutex_t mbedtls_threading_gmtime_mutex;
|
||||
#endif /* !_POSIX_VERSION || 200112L > _POSIX_THREAD_SAFE_FUNCTIONS */
|
||||
#endif /* !_WIN32 && (__unix__ || (__APPLE__ && __MACH__)) */
|
||||
#endif /* !_WIN32 && (unix || __unix || __unix__ || (__APPLE__ && __MACH__)) */
|
||||
#endif /* MBEDTLS_HAVE_TIME_DATE */
|
||||
#endif /* MBEDTLS_THREADING_C */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue