From 0a1aaca1bd88ae83f287511a6a510c5a886dc60b Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Wed, 27 Jun 2012 19:23:15 +0200 Subject: replace: define INT64_MAX when not defined MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tru64 doesn't have any stdint.h Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Jun 28 00:45:58 CEST 2012 on sn-devel-104 --- lib/replace/replace.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/replace') diff --git a/lib/replace/replace.h b/lib/replace/replace.h index bb271d45fa..40e0648a7a 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -586,6 +586,10 @@ int rep_strerror_r(int errnum, char *buf, size_t buflen); #define UINT64_MAX ((uint64_t)-1) #endif +#ifndef INT64_MAX +#define INT64_MAX 9223372036854775807 +#endif + #ifndef CHAR_BIT #define CHAR_BIT 8 #endif -- cgit