Skip to content

Commit 45832b9

Browse files
committed
FIX: trying to fix build for Haiku OS
1 parent da13e81 commit 45832b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/mbedtls/platform_util.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ extern inline void mbedtls_put_unaligned_uint64(void *p, uint64_t x);
246246
(defined(__APPLE__) && defined(__MACH__))) || \
247247
defined(__HAIKU__)
248248
#include <unistd.h>
249-
#endif /* !_WIN32 && (unix || __unix || __unix__ || (__APPLE__ && __MACH__)) */
250-
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 199309L)
249+
#endif /* !_WIN32 && (unix || __unix || __unix__ || (__APPLE__ && __MACH__) || defined(__HAIKU__)) */
250+
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 199309L) || defined(__HAIKU__)
251251
mbedtls_ms_time_t mbedtls_ms_time(void)
252252
{
253253
int ret;

0 commit comments

Comments
 (0)