summaryrefslogtreecommitdiff
path: root/libcmis/boost-win.patch
blob: 76681829d413fb0cb8bf4aa354c2153c1fb8a9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
--- src/libcmis/atom-object.cxx	2012-06-01 07:44:26.000000000 -0600
+++ src/libcmis/atom-object.cxx	2012-06-04 07:52:24.131190200 -0600
@@ -29,6 +29,9 @@
 #include <algorithm>
 #include <sstream>
 
+#ifndef BOOST_DATE_TIME_NO_LIB
+#define BOOST_DATE_TIME_NO_LIB
+#endif
 #include <boost/date_time/posix_time/posix_time.hpp>
 
 #include "atom-object.hxx"
--- src/libcmis/object.hxx	2012-06-01 07:38:36.000000000 -0600
+++ src/libcmis/object.hxx	2012-06-04 07:52:21.900386200 -0600
@@ -32,6 +32,9 @@
 #include <map>
 #include <string>
 
+#ifndef BOOST_DATE_TIME_NO_LIB
+#define BOOST_DATE_TIME_NO_LIB
+#endif
 #include <boost/date_time.hpp>
 #include <boost/shared_ptr.hpp>
 
--- src/libcmis/property-type.hxx	2012-02-17 08:00:50.000000000 -0700
+++ src/libcmis/property-type.hxx	2012-06-04 07:52:17.157977900 -0600
@@ -28,6 +28,9 @@
 #ifndef _PROPERTY_TYPE_HXX_
 #define _PROPERTY_TYPE_HXX_
 
+#ifndef BOOST_DATE_TIME_NO_LIB
+#define BOOST_DATE_TIME_NO_LIB
+#endif
 #include <boost/date_time.hpp>
 #include <libxml/tree.h>
 
--- src/libcmis/property.hxx	2012-02-17 06:38:33.000000000 -0700
+++ src/libcmis/property.hxx	2012-06-04 07:52:19.388781800 -0600
@@ -31,6 +31,9 @@
 #include <libxml/tree.h>
 #include <libxml/xmlwriter.h>
 
+#ifndef BOOST_DATE_TIME_NO_LIB
+#define BOOST_DATE_TIME_NO_LIB
+#endif
 #include <boost/date_time.hpp>
 #include <boost/shared_ptr.hpp>
 
--- src/libcmis/xml-utils.hxx	2012-05-30 06:17:12.000000000 -0600
+++ src/libcmis/xml-utils.hxx	2012-06-04 07:52:10.621566400 -0600
@@ -30,6 +30,9 @@
 
 #include <string>
 
+#ifndef BOOST_DATE_TIME_NO_LIB
+#define BOOST_DATE_TIME_NO_LIB
+#endif
 #include <boost/date_time.hpp>
 #include <libxml/tree.h>