diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-11-06 13:40:17 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-11-06 13:40:17 +0000 |
commit | c08eff2883a952dd0f9325c51ad7968370452b02 (patch) | |
tree | 72080b810e039359df54696191cebf66f21d677b /Build/source/texk/web2c/w2c | |
parent | e8386671e9408e3e71d63a518a5d8851689c3e7c (diff) |
MinGW64 build: Fix minor glitches, avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@35527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/w2c')
-rw-r--r-- | Build/source/texk/web2c/w2c/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/w2c/config.h b/Build/source/texk/web2c/w2c/config.h index d3f15e8f09a..25ba9b7f559 100644 --- a/Build/source/texk/web2c/w2c/config.h +++ b/Build/source/texk/web2c/w2c/config.h @@ -99,6 +99,15 @@ typedef __int64 integer64; #else typedef int64_t integer64; #endif + +/* And we need uintptr_t. */ +#ifndef HAVE_UINTPTR_T +# if SIZEOF_VOID_P == SIZEOF_INT +typedef unsigned int uintptr_t; +# elif SIZEOF_VOID_P == SIZEOF_LONG +typedef unsigned long uintptr_t; +# endif +#endif /* I don't want to write a configure test for remove when all Unix machines have unlink. But, for the sake of non-Unix machines that |