mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
MFH: fixed bug #42502 va_* cannot detect.
This commit is contained in:
parent
507112e44d
commit
beeddd8873
2 changed files with 7 additions and 4 deletions
|
@ -87,7 +87,7 @@ esac
|
|||
)
|
||||
])
|
||||
|
||||
AC_CHECK_HEADERS([stdlib.h string.h strings.h unistd.h sys/time.h sys/times.h])
|
||||
AC_CHECK_HEADERS([stdlib.h string.h strings.h unistd.h sys/time.h sys/times.h stdarg.h])
|
||||
AC_CHECK_SIZEOF(int, 4)
|
||||
AC_CHECK_SIZEOF(short, 2)
|
||||
AC_CHECK_SIZEOF(long, 4)
|
||||
|
@ -96,9 +96,6 @@ esac
|
|||
AC_FUNC_ALLOCA
|
||||
AC_FUNC_MEMCMP
|
||||
|
||||
if test "$cv_php_mbstring_stdarg" = "yes"; then
|
||||
AC_DEFINE([HAVE_STDARG_PROTOTYPES], 1, [Define if stdarg.h is available])
|
||||
fi
|
||||
AC_DEFINE([HAVE_MBREGEX], 1, [whether to have multibyte regex support])
|
||||
|
||||
|
||||
|
|
|
@ -5,4 +5,10 @@
|
|||
#define regex_t php_mb_regex_t
|
||||
#define re_registers php_mb_re_registers
|
||||
|
||||
#ifdef HAVE_STDARG_H
|
||||
#ifndef HAVE_STDARG_PROTOTYPES
|
||||
#define HAVE_STDARG_PROTOTYPES 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* _PHP_MBREGEX_COMPAT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue