diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2010-05-28 07:16:08 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2010-05-28 07:16:08 +0000 |
commit | 094c6ef08fd42161548a2aed78f8231940703c8a (patch) | |
tree | 047dd39da4ded5d0acd0453896ef8e2835632261 /Build/source/texk/web2c | |
parent | 8745ea9056cb2e68717bec2b56317ab67992a23b (diff) |
fix md5.c compilation (stdint.h portability)
git-svn-id: svn://tug.org/texlive/trunk@18545 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luamd5/md5.c | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index 299bdd16d7f..c7044a8b68b 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,7 @@ +2010-05-28 Taco Hoekwater <taco@luatex.org> + * luamd5/md.5c: bring in a new version from kepler to fix a + portability problem with stdint.h + 2010-05-19 Taco Hoekwater <taco@luatex.org> * printing.w (print_banner, log_banner), luainit.w (lua_initialize): add WEB2CVERSION to the banner. diff --git a/Build/source/texk/web2c/luatexdir/luamd5/md5.c b/Build/source/texk/web2c/luatexdir/luamd5/md5.c index 685880bedf5..834b6f1325d 100644 --- a/Build/source/texk/web2c/luatexdir/luamd5/md5.c +++ b/Build/source/texk/web2c/luatexdir/luamd5/md5.c @@ -1,19 +1,23 @@ /** -* $Id: md5.c,v 1.1 2000/11/09 19:19:59 roberto Exp $ +* $Id: md5.c,v 1.2 2008/03/24 20:59:12 mascarenhas Exp $ * Hash function MD5 * @author Marcela Ozorio Suarez, Roberto I. */ #include <string.h> -#include <stdint.h> #include "luamd5.h" #define WORD 32 #define MASK 0xFFFFFFFF +#if __STDC_VERSION__ >= 199901L +#include <stdint.h> typedef uint32_t WORD32; +#else +typedef unsigned int WORD32; +#endif /** |