From e0dc93f61d1983687941293fdc1fccf90a766c0d Mon Sep 17 00:00:00 2001 From: alessandro bason Date: Wed, 4 Mar 2026 16:50:47 +0100 Subject: [PATCH] . --- colla.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/colla.h b/colla.h index fd313ce..8c79a80 100644 --- a/colla.h +++ b/colla.h @@ -157,6 +157,13 @@ void colla_cleanup(void); #define GB(n) (((u64)n) << 30) #define TB(n) (((u64)n) << 40) +#if COLLA_WIN +#define force_inline __forceinline +#else +// TODO +#define force_inline inline +#endif + #if COLLA_DEBUG #define colla__assert(file, line, cond, ...) do { if (!(cond)) fatal(file ":" line " ASSERT FAILED: (" COLLA__STRINGIFY(cond) ") " __VA_ARGS__); } while (0) #define colla_assert(...) colla__assert(__FILE__, COLLA__STRINGIFY(__LINE__), __VA_ARGS__)