Ticket #9397: boost-predef.diffs

File boost-predef.diffs, 3.1 KB (added by Tom Browder <tom.browder@…>, 9 years ago)

patch to fix warnings

Line 
1Index: boost/predef/os/bsd/bsdi.h
2===================================================================
3--- boost/predef/os/bsd/bsdi.h (revision 86709)
4+++ boost/predef/os/bsd/bsdi.h (working copy)
5@@ -24,7 +24,7 @@
6
7 #define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_NOT_AVAILABLE
8
9-#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
10+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
11 defined(__bsdi__) \
12 )
13 # ifndef BOOST_OS_BSD_AVAILABLE
14Index: boost/predef/os/bsd/dragonfly.h
15===================================================================
16--- boost/predef/os/bsd/dragonfly.h (revision 86709)
17+++ boost/predef/os/bsd/dragonfly.h (working copy)
18@@ -24,7 +24,7 @@
19
20 #define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER_NOT_AVAILABLE
21
22-#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
23+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
24 defined(__DragonFly__) \
25 )
26 # ifndef BOOST_OS_BSD_AVAILABLE
27Index: boost/predef/os/bsd/free.h
28===================================================================
29--- boost/predef/os/bsd/free.h (revision 86709)
30+++ boost/predef/os/bsd/free.h (working copy)
31@@ -26,7 +26,7 @@
32
33 #define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_NOT_AVAILABLE
34
35-#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
36+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
37 defined(__FreeBSD__) \
38 )
39 # ifndef BOOST_OS_BSD_AVAILABLE
40Index: boost/predef/os/bsd/net.h
41===================================================================
42--- boost/predef/os/bsd/net.h (revision 86709)
43+++ boost/predef/os/bsd/net.h (working copy)
44@@ -31,7 +31,7 @@
45
46 #define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_NOT_AVAILABLE
47
48-#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
49+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
50 defined(__NETBSD__) || defined(__NetBSD__) \
51 )
52 # ifndef BOOST_OS_BSD_AVAILABLE
53Index: boost/predef/os/bsd/open.h
54===================================================================
55--- boost/predef/os/bsd/open.h (revision 86709)
56+++ boost/predef/os/bsd/open.h (working copy)
57@@ -55,7 +55,7 @@
58
59 #define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_NOT_AVAILABLE
60
61-#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
62+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
63 defined(__OpenBSD__) \
64 )
65 # ifndef BOOST_OS_BSD_AVAILABLE
66Index: boost/predef/os/bsd.h
67===================================================================
68--- boost/predef/os/bsd.h (revision 86709)
69+++ boost/predef/os/bsd.h (working copy)
70@@ -59,7 +59,7 @@
71 #define BOOST_OS_BSD BOOST_VERSION_NUMBER_NOT_AVAILABLE
72 #endif
73
74-#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
75+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
76 defined(BSD) || \
77 defined(_SYSTYPE_BSD) \
78 )
79Index: boost/predef/os/macos.h
80===================================================================
81--- boost/predef/os/macos.h (revision 86709)
82+++ boost/predef/os/macos.h (working copy)
83@@ -31,7 +31,7 @@
84
85 #define BOOST_OS_MACOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
86
87-#if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
88+#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
89 defined(macintosh) || defined(Macintosh) || \
90 (defined(__APPLE__) && defined(__MACH__)) \
91 )