mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-09 14:50:17 +08:00
Fix the build on non-UNIXLIKE platforms
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
5ca8894b59
commit
f994fe05cd
@ -14,6 +14,13 @@
|
||||
#include <time.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) */
|
||||
|
||||
/* END_HEADER */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user