mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-06 07:01:38 +01:00
handle_recursive: fix race condition if threads are used
Requires thread-local storage. Another solution would be a mutex, but this is slower and more complicated and might cause issues with some programs.
This commit is contained in:
@@ -46,6 +46,7 @@ AC_TYPE_SSIZE_T
|
||||
|
||||
AC_C_INLINE
|
||||
AX_C___ATTRIBUTE__
|
||||
AX_TLS
|
||||
|
||||
AC_CHECK_MEMBER([struct _IO_FILE._fileno],
|
||||
[AC_DEFINE([HAVE_STRUCT__IO_FILE__FILENO], 1,
|
||||
|
||||
Reference in New Issue
Block a user