From 1458c9dd8963b34a892b99a6ffce65ca5493a488 Mon Sep 17 00:00:00 2001 From: Matthias Fechner Date: Mon, 4 Nov 2024 19:20:48 +0100 Subject: [PATCH] Allow compilation on FreeBSD. Fixes error descriped here: https://github.com/toniebox-reverse-engineering/teddycloud/issues/237 --- src/cyclone/common/compiler_port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cyclone/common/compiler_port.h b/src/cyclone/common/compiler_port.h index f52aa7d7..87d74ad0 100644 --- a/src/cyclone/common/compiler_port.h +++ b/src/cyclone/common/compiler_port.h @@ -106,7 +106,7 @@ typedef unsigned int uint_t; #define PRIXSIZE "X" #define PRIuTIME "lu" //Linux GCC compiler -#elif defined(__linux__) +#elif defined(__linux__) || defined(__unix__) #define PRIuSIZE "zu" #define PRIXSIZE "zX" #define PRIuTIME "lu"