internal.h: fix ifdef for mp_get_rwlock_{read,write}_wait
rwlocks are emulated using standard locks if no OS primitive for them exists, therefore we need the declarations in any case.
This commit is contained in:
parent
4b6ee0536b
commit
da807da49a
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ extern cl_object ecl_waiter_pop(cl_env_ptr the_env, cl_object q);
|
||||||
|
|
||||||
/* threads/rwlock.d */
|
/* threads/rwlock.d */
|
||||||
|
|
||||||
#ifdef ECL_RWLOCK
|
#ifdef ECL_THREADS
|
||||||
extern cl_object mp_get_rwlock_read_wait(cl_object lock);
|
extern cl_object mp_get_rwlock_read_wait(cl_object lock);
|
||||||
extern cl_object mp_get_rwlock_write_wait(cl_object lock);
|
extern cl_object mp_get_rwlock_write_wait(cl_object lock);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue