mirror of
https://github.com/pocketpy/pocketpy
synced 2026-02-04 06:30:17 +00:00
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
This commit is contained in:
parent
bbddcc7ef7
commit
c278d02131
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user