diff options
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | include/my_pthread.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.in b/configure.in index abf2ae9790f..e09d15866c3 100644 --- a/configure.in +++ b/configure.in @@ -1910,7 +1910,7 @@ if test "$GCC" != "yes"; then AC_SYS_COMPILER_FLAG(-nolib_inline,nolib_inline,CFLAGS,[],[]) fi -AC_FUNC_MMAP +#AC_FUNC_MMAP AC_TYPE_SIGNAL MYSQL_TYPE_QSORT AC_FUNC_UTIME_NULL @@ -1921,7 +1921,7 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \ getcwd gethostbyaddr_r gethostbyname_r getpass getpassphrase getpwnam \ getpwuid getrlimit getrusage getwd gmtime_r index initgroups isnan \ localtime_r locking longjmp lrand48 madvise mallinfo memcpy memmove \ - mkstemp mlockall perror poll pread pthread_attr_create \ + mkstemp mlockall perror poll pread pthread_attr_create mmap \ pthread_attr_getstacksize pthread_attr_setprio pthread_attr_setschedparam \ pthread_attr_setstacksize pthread_condattr_create pthread_getsequence_np \ pthread_key_delete pthread_rwlock_rdlock pthread_setprio \ diff --git a/include/my_pthread.h b/include/my_pthread.h index 29d1c0bc1d9..b483b68d5cb 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -702,7 +702,6 @@ static inline bool thread_safe_dec_and_test(ulong V, pthread_mutex_t *L) a regular function somewhere in mysys/ ? for now it's only used in c++ code, so there's no need to bother */ -#warning "No thread_safe_dec_and_test() for this architecture" #endif #endif /* HAVE_ATOMIC_ADD */ #ifdef SAFE_STATISTICS |