~ chicken-core (chicken-5) cdeedb654ac0086d715152f26597c7c4f876c28b
commit cdeedb654ac0086d715152f26597c7c4f876c28b Author: felix <felix@call-with-current-continuation.org> AuthorDate: Fri Dec 4 20:52:06 2009 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Fri Dec 4 20:52:06 2009 +0100 added inline macro diff --git a/chicken.h b/chicken.h index 716aa58e..cc7e6b89 100644 --- a/chicken.h +++ b/chicken.h @@ -287,6 +287,12 @@ typedef unsigned __int64 uint64_t; #define C_c_regparm +#if defined(__GNUC__) || defined(__INTEL_COMPILER) || defined(__cplusplus) +# define C_inline inline static +#else +# define C_inline static +#endif + /* Thread Local Stoarage */ #ifdef C_ENABLE_TLS # if defined(__GNUC__)Trap