mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-14 22:29:57 +00:00
Fix the build on non-UNIXLIKE platforms
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -14,6 +14,13 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#else /* defined(MBEDTLS_PLATFORM_IS_UNIXLIKE) */
|
||||||
|
|
||||||
|
/* Constants used in the test data need to be defined even if no test
|
||||||
|
* functions that use them are enabled. */
|
||||||
|
#define CLOCK_REALTIME 0
|
||||||
|
#define CLOCK_MONOTONIC 0
|
||||||
|
|
||||||
#endif /* defined(MBEDTLS_PLATFORM_IS_UNIXLIKE) */
|
#endif /* defined(MBEDTLS_PLATFORM_IS_UNIXLIKE) */
|
||||||
|
|
||||||
/* END_HEADER */
|
/* END_HEADER */
|
||||||
|
|||||||
Reference in New Issue
Block a user