aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-08-14 21:21:56 +0200
committerJoakim Verona2013-08-14 21:21:56 +0200
commit0b15597dcec4aaa6c4f35138da2471f6dd4fb003 (patch)
treeda1c75008f53c7aa7363878bf87a6803708dee67 /src
parent1cd3338c8c8074c0c93c997e4430d441fdec4113 (diff)
parent05e64f9f63f98108bb04f8ab45343e507862d8f4 (diff)
downloademacs-0b15597dcec4aaa6c4f35138da2471f6dd4fb003.tar.gz
emacs-0b15597dcec4aaa6c4f35138da2471f6dd4fb003.zip
merge from trunk
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/gmalloc.c9
2 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 415c4c3f525..43e9bca061b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-08-14 Ken Brown <kbrown@cornell.edu>
2
3 * gmalloc.c (memalign) [CYGWIN]: Rename to emacs_memalign
4 (Bug#15094).
5
12013-08-14 Dmitry Antipov <dmantipov@yandex.ru> 62013-08-14 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 Utility function and macro to copy Lisp string to C string. 8 Utility function and macro to copy Lisp string to C string.
diff --git a/src/gmalloc.c b/src/gmalloc.c
index bc1d85ac5fb..42ac0b03985 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -1558,6 +1558,15 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. *
1558 1558
1559void *(*__memalign_hook) (size_t size, size_t alignment); 1559void *(*__memalign_hook) (size_t size, size_t alignment);
1560 1560
1561/* As of version 1.7.24, Cygwin allows applications to provide their
1562 own posix_memalign (but not memalign). But posix_memalign as
1563 defined in this file calls memalign, so we have to rename the
1564 latter in order to make sure that posix_memalign calls Emacs's
1565 memalign. */
1566#ifdef CYGWIN
1567#define memalign emacs_memalign
1568#endif
1569
1561void * 1570void *
1562memalign (size_t alignment, size_t size) 1571memalign (size_t alignment, size_t size)
1563{ 1572{