diff options
author | Karl Berry <karl@freefriends.org> | 2007-12-18 23:50:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-12-18 23:50:37 +0000 |
commit | 9b51de63a85e91a40130ce5c8a941874054afbe5 (patch) | |
tree | 14f07fcb164b0d1863157c5f25a4a1713b679de4 /Build | |
parent | 158ddd6222fa2b4cd125602d291df8f09a187e71 (diff) |
use off_t for LONGINTEGER_TYPE
git-svn-id: svn://tug.org/texlive/trunk@5802 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-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 |