Ticket #6796: patch.txt

File patch.txt, 721 bytes (added by honglilai@…, 11 years ago)
Line 
1diff -u a/boost/cstdint.hpp b/boost/cstdint.hpp
2index ea84b65..ccb6768 100644
3--- a/boost/cstdint.hpp
4+++ b/boost/cstdint.hpp
5@@ -137,7 +137,7 @@ namespace boost
6
7 } // namespace boost
8
9-#elif defined(__FreeBSD__) && (__FreeBSD__ <= 4) || defined(__osf__) || defined(__VMS)
10+#elif defined(__FreeBSD__) && (__FreeBSD__ <= 4) || defined(__osf__) || defined(__VMS) || defined(__SOLARIS9__) || defined(__NetBSD__)
11 // FreeBSD and Tru64 have an <inttypes.h> that contains much of what we need.
12 # include <inttypes.h>
13
14@@ -424,6 +424,7 @@ INT#_C macros if they're not already defined (John Maddock).
15 # define UINTMAX_C(value) value##ui64
16 #endif
17
18+# elif defined(__NetBSD__)
19 # else
20 // do it the old fashioned way:
21