diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-07 13:47:00 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-07 13:47:00 +0300 |
commit | aa6a71c05ac79553f88583264179054998037f90 (patch) | |
tree | c254d2c5a98c1c51c77f948e02c8035a5ac3042d /support/regex_internal.h | |
parent | 49f12cf3a4199be8a5e1699fe41a06ad37751132 (diff) | |
parent | 262c9c0e14e68c2b4b5d00e88f1bacc6c9556f3a (diff) | |
download | egawk-aa6a71c05ac79553f88583264179054998037f90.tar.gz egawk-aa6a71c05ac79553f88583264179054998037f90.tar.bz2 egawk-aa6a71c05ac79553f88583264179054998037f90.zip |
Merge branch 'gawk-5.1-stable'
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) |