git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666dba3
)
replace: define INT64_MAX when not defined
author
Björn Jacke
<bj@sernet.de>
Wed, 27 Jun 2012 17:23:15 +0000
(19:23 +0200)
committer
Bjoern Jacke
<bj@sernet.de>
Wed, 27 Jun 2012 22:45:58 +0000
(
00:45
+0200)
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
lib/replace/replace.h
patch
|
blob
|
history
diff --git
a/lib/replace/replace.h
b/lib/replace/replace.h
index bb271d45fabd49e0eeba81017e6ff0430ab6a1d1..40e0648a7a711037cb4e744d62ab0a175e137df3 100644
(file)
--- 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