summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-09 19:52:11 +0000
committerKarl Berry <karl@freefriends.org>2006-12-09 19:52:11 +0000
commit3f0d79ba78eb7803e91b0e03b51c3b69ca7dde38 (patch)
treee7ca520b4cc59db0def39b98b31f835b6b12635f /Build/source/texk
parentaa206d845479aa763e5c8ef5241b1670fa4417cd (diff)
(alloca) [_AIX]: #define as _alloca, per the
autoconf manual. git-svn-id: svn://tug.org/texlive/trunk@2660 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/dvipng/dvipng.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/texk/dvipng/dvipng.h b/Build/source/texk/dvipng/dvipng.h
index a8049e6f0fc..fec8bf5f0fd 100644
--- a/Build/source/texk/dvipng/dvipng.h
+++ b/Build/source/texk/dvipng/dvipng.h
@@ -137,8 +137,10 @@ typedef int32_t dviunits;
/* integer round to the nearest number, not towards zero */
#define PIXROUND(num,den) ((num)>0 ? ((num)+(den)/2)/(den) : -(((den)/2-(num))/(den)))
-#if HAVE_ALLOCA_H
+#ifdef HAVE_ALLOCA_H
# include <alloca.h>
+#elif defined _AIX
+# define alloca _alloca
#endif
#define TEMPSTR(s,a) { char* tmp=a; \
if (tmp!=NULL) {\