1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Move SCM_C_INLINE_KEYWORD definition to inline.h

* libguile/__scm.h:
* libguile/inline.h (SCM_C_INLINE_KEYWORD): Move this definition here.
This commit is contained in:
Andy Wingo 2018-06-20 14:40:52 +02:00
parent d04ff278f5
commit 2b4ecafab8
2 changed files with 11 additions and 11 deletions

View file

@ -388,17 +388,6 @@ typedef long SCM_STACKITEM;
/* Define SCM_C_INLINE_KEYWORD so that it can be used as a replacement
for the "inline" keyword, expanding to nothing when "inline" is not
available.
*/
#ifdef SCM_C_INLINE
#define SCM_C_INLINE_KEYWORD SCM_C_INLINE
#else
#define SCM_C_INLINE_KEYWORD
#endif
/* Handling thread-local storage (TLS). */
#ifdef SCM_HAVE_THREAD_STORAGE_CLASS

View file

@ -27,6 +27,17 @@
#include "libguile/__scm.h"
/* Define SCM_C_INLINE_KEYWORD so that it can be used as a replacement
for the "inline" keyword, expanding to nothing when "inline" is not
available.
*/
#ifdef SCM_C_INLINE
#define SCM_C_INLINE_KEYWORD SCM_C_INLINE
#else
#define SCM_C_INLINE_KEYWORD
#endif
/* We would like gnu89 extern inline semantics, not C99 extern inline
semantics, so that we can be sure to avoid reifying definitions of
inline functions in all compilation units, which is a possibility at