1155
1163
#---START: Used in for client configure
1156
1164
# Check definition of readdir_r
1157
1165
AC_CACHE_CHECK([args to readdir_r], [mysql_cv_readdir_r],
1159
1171
#define _POSIX_PTHREAD_SEMANTICS
1161
1174
#include <dirent.h>]], [[ int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
1162
1175
readdir_r((DIR *) NULL, (struct dirent *) NULL, (struct dirent **) NULL); ]])],