mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-09 16:38:32 +01:00
Fix hook for putc_unlocked() with glibc.
putc_unlocked() is a macro which expands to __overflow() in some cases.
This commit is contained in:
@@ -47,6 +47,11 @@ AC_TYPE_SSIZE_T
|
||||
AC_C_INLINE
|
||||
AX_C___ATTRIBUTE__
|
||||
|
||||
AC_CHECK_MEMBER([struct _IO_FILE._fileno],
|
||||
[AC_DEFINE([HAVE_STRUCT__IO_FILE__FILENO], 1,
|
||||
[Define to 1 if `_fileno' is a member of `struct _IO_FILE'.])],
|
||||
[],[[#include <libio.h>]])
|
||||
|
||||
AC_FUNC_FORK
|
||||
AC_CHECK_FUNCS([memmove setenv],
|
||||
[],[AC_MSG_ERROR([function is required])])
|
||||
|
||||
Reference in New Issue
Block a user