mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 22:40:34 +02:00
simplify SCM_TICK
* libguile/__scm.h (SCM_TICK): Define to simply scm_async_tick (or SCM_ASYNC_TICK when building Guile).
This commit is contained in:
parent
8b8723b307
commit
f311754e17
1 changed files with 5 additions and 4 deletions
|
@ -445,10 +445,11 @@ SCM_API void scm_async_tick (void);
|
||||||
#define SCM_FENCE
|
#define SCM_FENCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SCM_TICK \
|
#ifdef BUILDING_LIBGUILE
|
||||||
do { \
|
#define SCM_TICK SCM_ASYNC_TICK
|
||||||
SCM_ASYNC_TICK; \
|
#else
|
||||||
} while (0)
|
#define SCM_TICK scm_async_tick ()
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue