summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/config.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-12-18 23:50:37 +0000
committerKarl Berry <karl@freefriends.org>2007-12-18 23:50:37 +0000
commit9b51de63a85e91a40130ce5c8a941874054afbe5 (patch)
tree14f07fcb164b0d1863157c5f25a4a1713b679de4 /Build/source/texk/web2c/config.h
parent158ddd6222fa2b4cd125602d291df8f09a187e71 (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/source/texk/web2c/config.h')
-rw-r--r--Build/source/texk/web2c/config.h16
1 files changed, 2 insertions, 14 deletions
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