Compare commits

..

2 Commits

Author SHA1 Message Date
Kanika Kapoor
e2286ad90f
Merge c048ec9faf4bfe02da004dce69471897933c3617 into c278d02131d4bf4de083b1d64bfe0927462be654 2026-01-02 19:51:38 +03:00
Phil Chang
c278d02131
Use inline instead of __forceinline when compiling with clang-cl on Windows (#420)
* Add extern specifier for inline functions inside C source files

* Force clang-cl to use inline instead of __forceinline
2026-01-02 23:01:34 +08:00

View File

@ -65,7 +65,7 @@
#ifdef NDEBUG
#if defined(__GNUC__)
#define PK_INLINE __attribute__((always_inline)) inline
#elif defined(_MSC_VER)
#elif defined(_MSC_VER) && !defined(__clang__)
#define PK_INLINE __forceinline
#else
#define PK_INLINE inline