Commit da807da4 authored by Marius Gerbershagen's avatar Marius Gerbershagen
Browse files

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.
parent 4b6ee053
...@@ -490,7 +490,7 @@ extern cl_object ecl_waiter_pop(cl_env_ptr the_env, cl_object q); ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment