summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-09 09:25:54 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-09 09:25:54 +1100
commit709d0ce67201e980258c84928fda46edd1c8d38f (patch)
tree14603421b0c3a14cfb4b774593bc99bc82966a37
parent9eba40cec9de097b41f3f1c84799476f14260920 (diff)
- (dtucker) [defines.h] define PRIu64 for platforms that don't have it.
-rw-r--r--ChangeLog1
-rw-r--r--defines.h6
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 79491f54a..65bbdd6bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
120091209 120091209
2 - (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't 2 - (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't
3 have it. 3 have it.
4 - (dtucker) [defines.h] define PRIu64 for platforms that don't have it.
4 5
520091208 620091208
6 - (dtucker) OpenBSD CVS Sync 7 - (dtucker) OpenBSD CVS Sync
diff --git a/defines.h b/defines.h
index 2ddfd96d0..053893ee4 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.156 2009/08/28 01:21:07 dtucker Exp $ */ 28/* $Id: defines.h,v 1.157 2010/01/08 22:25:54 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -753,4 +753,8 @@ struct winsize {
753# define SSH_IOBUFSZ 8192 753# define SSH_IOBUFSZ 8192
754#endif 754#endif
755 755
756#ifndef PRIu64
757# define PRIu64 "llu"
758#endif
759
756#endif /* _DEFINES_H */ 760#endif /* _DEFINES_H */