aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Arch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Arch.h b/src/Arch.h
index 5d0eeb0..97978ea 100644
--- a/src/Arch.h
+++ b/src/Arch.h
@@ -28,8 +28,11 @@
#ifdef WIN32
typedef __int64 Long8;
#else
-typedef long Long8;
+/* typedef long Long8; JMS 64-bit file offset kludge? */
+#include <stdint.h>
+typedef int64_t Long8;
#endif
+
#else /* default SGI behavior. long longs=8 bytes long=4 bytes*/
typedef long long Long8;
#endif