mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-05 01:00:21 +02:00
Fix -O0 compilation in async.c
* libguile/async.c: Yaargh, can't have static const case labels.
This commit is contained in:
parent
5d17297da8
commit
d07b6acd2c
1 changed files with 6 additions and 3 deletions
|
@ -155,9 +155,12 @@ scm_async_tick (void)
|
||||||
scm_call_0 (scm_i_async_pop (t));
|
scm_call_0 (scm_i_async_pop (t));
|
||||||
}
|
}
|
||||||
|
|
||||||
static const int NOT_WAITING = 0;
|
enum
|
||||||
static const int WAITING_ON_FD = 1;
|
{
|
||||||
static const int WAITING_ON_COND = 2;
|
NOT_WAITING,
|
||||||
|
WAITING_ON_FD,
|
||||||
|
WAITING_ON_COND
|
||||||
|
};
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
publish_wake_data_for_thread (scm_thread *t, struct scm_thread_wake_data data)
|
publish_wake_data_for_thread (scm_thread *t, struct scm_thread_wake_data data)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue