diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-07 13:47:49 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-07 13:47:49 +0300 |
commit | 3ff55e2709303f132d63d9cfa68b5d8d3616b1a9 (patch) | |
tree | e56ff4668e1c74d7f9ea97a80de1c8b887aa173b /support/regex_internal.h | |
parent | bd26081fcdfa8b7b566ce970baa53bfe05ca552e (diff) | |
parent | aa6a71c05ac79553f88583264179054998037f90 (diff) | |
download | egawk-3ff55e2709303f132d63d9cfa68b5d8d3616b1a9.tar.gz egawk-3ff55e2709303f132d63d9cfa68b5d8d3616b1a9.tar.bz2 egawk-3ff55e2709303f132d63d9cfa68b5d8d3616b1a9.zip |
Merge branch 'master' into feature/docit
Diffstat (limited to 'support/regex_internal.h')
-rw-r--r-- | support/regex_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/regex_internal.h b/support/regex_internal.h index 4b0a3efb..1245e782 100644 --- a/support/regex_internal.h +++ b/support/regex_internal.h @@ -53,14 +53,14 @@ # define lock_fini(lock) ((void) 0) # define lock_lock(lock) __libc_lock_lock (lock) # define lock_unlock(lock) __libc_lock_unlock (lock) -#elif defined GNULIB_LOCK && !defined USE_UNLOCKED_IO +#elif defined GNULIB_LOCK && !defined GNULIB_REGEX_SINGLE_THREAD # include "glthread/lock.h" # define lock_define(name) gl_lock_define (, name) # define lock_init(lock) glthread_lock_init (&(lock)) # define lock_fini(lock) glthread_lock_destroy (&(lock)) # define lock_lock(lock) glthread_lock_lock (&(lock)) # define lock_unlock(lock) glthread_lock_unlock (&(lock)) -#elif defined GNULIB_PTHREAD && !defined USE_UNLOCKED_IO +#elif defined GNULIB_PTHREAD && !defined GNULIB_REGEX_SINGLE_THREAD # include <pthread.h> # define lock_define(name) pthread_mutex_t name; # define lock_init(lock) pthread_mutex_init (&(lock), 0) |