diff options
Diffstat (limited to 'Build/source/texk/web2c/w2c/config.h')
-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 |