]> git.eshelyaron.com Git - emacs.git/commit
Pacify GCC on C library without glibc API
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 31 Jan 2016 02:38:51 +0000 (18:38 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 31 Jan 2016 02:39:27 +0000 (18:39 -0800)
commit93b144bbaa4bcef356655613cf2fc4fa14e09df6
tree153608e5a1b17f44249bab8537caaa9a3a8f1043
parent71b20b31c8ee25bcd0de1a954c9ca7b49140b3b2
Pacify GCC on C library without glibc API

Without this change, with --enable-gcc-warnings GCC would complain
“error: redundant redeclaration of ‘aligned_alloc’”.
* configure.ac: Simplify aligned_alloc testing.
* src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
since the simplified configure.ac no longer checks for that.
Don’t declare if HAVE_ALIGNED_ALLOC.
Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.
configure.ac
src/alloc.c