Commit 7fc70c7f authored by unknown's avatar unknown

#warning removed

AC_FUNC_MMAP changes to AC_CHECK_FUNCS(mmap)


configure.in:
  don't use AC_FUNC_MMAP - it checks for "private fixed mapping of
  already-mapped memory" - and we don't care about it.
  use regular AC_CHECK_FUNCS(mmap) instead
  (blame autoconf for misleading macro name - should've been
  AC_MMAP_CAN_DO_PRIVATE_FIXING_MAPPING_OF_ALREADY_MAPPED_MEMORY :)
include/my_pthread.h:
  not all cpp's understand #warning :-[]
parent c0114674
......@@ -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 \
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment