Fix the build on non-UNIXLIKE platforms

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2026-03-03 15:19:58 +01:00
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 */