diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-01-09 09:25:54 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-01-09 09:25:54 +1100 |
commit | 709d0ce67201e980258c84928fda46edd1c8d38f (patch) | |
tree | 14603421b0c3a14cfb4b774593bc99bc82966a37 | |
parent | 9eba40cec9de097b41f3f1c84799476f14260920 (diff) |
- (dtucker) [defines.h] define PRIu64 for platforms that don't have it.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | defines.h | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,7 @@ | |||
1 | 20091209 | 1 | 20091209 |
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 | ||
5 | 20091208 | 6 | 20091208 |
6 | - (dtucker) OpenBSD CVS Sync | 7 | - (dtucker) OpenBSD CVS Sync |
@@ -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 */ |