From e012e8b3c14412724bbaa08f409cdac157607654 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Thu, 22 Feb 2024 18:44:36 +0200 Subject: [PATCH] Add compiler check for __fennix__ --- tests/macros.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/macros.cpp b/tests/macros.cpp index e6cbaab..946b912 100644 --- a/tests/macros.cpp +++ b/tests/macros.cpp @@ -47,6 +47,10 @@ #endif // UINTPTR_MAX != UINT64_MAX #endif // aa64 +#ifndef __fennix__ +#error "This compiler is not supported!" +#endif // __fennix__ + static_assert(sc_SEEK_SET == SEEK_SET); static_assert(sc_SEEK_CUR == SEEK_CUR); static_assert(sc_SEEK_END == SEEK_END);