diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-07 13:47:29 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-07 13:47:29 +0300 |
commit | 110e88df64d96ec8d0b9a1eeea0d1d18d1de289f (patch) | |
tree | e1ef41a35fa85a3047ecda8100061a7af735ba93 /support/regex_internal.h | |
parent | ea33d6487ac96e175507406ed994bb9546a7f3ca (diff) | |
parent | aa6a71c05ac79553f88583264179054998037f90 (diff) | |
download | egawk-110e88df64d96ec8d0b9a1eeea0d1d18d1de289f.tar.gz egawk-110e88df64d96ec8d0b9a1eeea0d1d18d1de289f.tar.bz2 egawk-110e88df64d96ec8d0b9a1eeea0d1d18d1de289f.zip |
Merge branch 'master' into feature/bool
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) |