diff options
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/config.h | 16 |
2 files changed, 6 insertions, 14 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog index fd1dd2008c8..b405bebcc88 100644 --- a/Build/source/texk/web2c/ChangeLog +++ b/Build/source/texk/web2c/ChangeLog @@ -1,3 +1,7 @@ +2007-12-19 Karl Berry <karl@tug.org> + + * config.h (LONGINTEGER_TYPE): swtich to off_t. + 2007-10-23 Karl Berry <karl@tug.org> * config.h (LONGINTEGER_TYPE): #define, depending on the C version. diff --git a/Build/source/texk/web2c/config.h b/Build/source/texk/web2c/config.h index 427636d0c2f..ba5f41dd29d 100644 --- a/Build/source/texk/web2c/config.h +++ b/Build/source/texk/web2c/config.h @@ -90,20 +90,8 @@ typedef SCHAR_TYPE schar; typedef INTEGER_TYPE integer; -/* We need a type that's at least 64 bits wide. */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L - /* C99; this is easy */ - #include <stdint.h> - #define LONGINTEGER_TYPE int_least64_t - #define LONGINTEGER_MAX INT_LEAST64_MAX - #define LONGINTEGER_MIN INT_LEAST64_MIN -#else - /* C++ or <C99; let's hope long is 64bit */ - #define LONGINTEGER_TYPE long - #define LONGINTEGER_MAX LONG_MAX - #define LONGINTEGER_MIN LONG_MIN -#endif -typedef LONGINTEGER_TYPE longinteger; +/* We need a type that's at least off_t wide */ +typedef off_t longinteger; /* I don't want to write a configure test for remove when all Unix |