Allow implementing atomic and mutex ops in config
Motivated by https://github.com/behdad/harfbuzz/pull/92
This commit is contained in:
parent
3fe4e92bc5
commit
45a8b46f47
|
@ -39,7 +39,11 @@
|
|||
|
||||
/* We need external help for these */
|
||||
|
||||
#if 0
|
||||
#if defined(hb_atomic_int_add) \
|
||||
&& defined(hb_atomic_ptr_get) \
|
||||
&& defined(hb_atomic_ptr_cmpexch)
|
||||
|
||||
/* Defined externally, i.e. in config.h */
|
||||
|
||||
|
||||
#elif !defined(HB_NO_MT) && (defined(_WIN32) || defined(__CYGWIN__))
|
||||
|
|
|
@ -39,7 +39,12 @@
|
|||
|
||||
/* We need external help for these */
|
||||
|
||||
#if 0
|
||||
#if defined(hb_mutex_impl_init) \
|
||||
&& defined(hb_mutex_impl_lock) \
|
||||
&& defined(hb_mutex_impl_unlock) \
|
||||
&& defined(hb_mutex_impl_finish)
|
||||
|
||||
/* Defined externally, i.e. in config.h */
|
||||
|
||||
|
||||
#elif !defined(HB_NO_MT) && (defined(_WIN32) || defined(__CYGWIN__))
|
||||
|
|
Loading…
Reference in New Issue