diff options
author | Björn Jacke <bj@sernet.de> | 2012-06-27 19:23:15 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-06-28 00:45:58 +0200 |
commit | 0a1aaca1bd88ae83f287511a6a510c5a886dc60b (patch) | |
tree | 5a07d312ebc76f7f2ee30106530e87c9ddf800cf /lib/replace | |
parent | 666dba33531c7e7d391318c915fb393ec5b1da36 (diff) | |
download | samba-0a1aaca1bd88ae83f287511a6a510c5a886dc60b.tar.gz |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h index bb271d45fab..40e0648a7a7 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 |