summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-06-27 19:23:15 +0200
committerBjoern Jacke <bj@sernet.de>2012-06-28 00:45:58 +0200
commit0a1aaca1bd88ae83f287511a6a510c5a886dc60b (patch)
tree5a07d312ebc76f7f2ee30106530e87c9ddf800cf /lib/replace
parent666dba33531c7e7d391318c915fb393ec5b1da36 (diff)
downloadsamba-0a1aaca1bd88ae83f287511a6a510c5a886dc60b.tar.gz
samba-0a1aaca1bd88ae83f287511a6a510c5a886dc60b.tar.bz2
samba-0a1aaca1bd88ae83f287511a6a510c5a886dc60b.zip
replace: define INT64_MAX when not defined
Tru64 doesn't have any stdint.h Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 28 00:45:58 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
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