diff options
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/dvipng/dvipng.h | 4 |
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) {\ |