mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
ws fix (bug: #20808)
This commit is contained in:
parent
373361d9c4
commit
f8c050395c
@ -227,7 +227,8 @@ dnl Find type of qsort
|
|||||||
AC_DEFUN(MYSQL_TYPE_QSORT,
|
AC_DEFUN(MYSQL_TYPE_QSORT,
|
||||||
[AC_CACHE_CHECK([return type of qsort], mysql_cv_type_qsort,
|
[AC_CACHE_CHECK([return type of qsort], mysql_cv_type_qsort,
|
||||||
[AC_TRY_COMPILE([#include <stdlib.h>
|
[AC_TRY_COMPILE([#include <stdlib.h>
|
||||||
#ifdef __cplusplus extern "C"
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
#endif
|
#endif
|
||||||
void qsort(void *base, size_t nel, size_t width,
|
void qsort(void *base, size_t nel, size_t width,
|
||||||
int (*compar) (const void *, const void *));
|
int (*compar) (const void *, const void *));
|
||||||
@ -237,7 +238,8 @@ AC_DEFINE_UNQUOTED(RETQSORTTYPE, $mysql_cv_type_qsort, [ ])
|
|||||||
if test "$mysql_cv_type_qsort" = "void"
|
if test "$mysql_cv_type_qsort" = "void"
|
||||||
then
|
then
|
||||||
AC_DEFINE_UNQUOTED(QSORT_TYPE_IS_VOID, 1, [ ])
|
AC_DEFINE_UNQUOTED(QSORT_TYPE_IS_VOID, 1, [ ])
|
||||||
fi ])
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
#---START: Used in for client configure
|
#---START: Used in for client configure
|
||||||
|
Loading…
Reference in New Issue
Block a user