Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / libcmis / boost-win.patch
blob7d9508bea071d47e2bafeea5f5d30212e9923335
1 diff --git src/libcmis/atom-object.cxx src/libcmis/atom-object.cxx
2 index ce21384..eef8102 100644
3 --- src/libcmis/atom-object.cxx
4 +++ src/libcmis/atom-object.cxx
5 @@ -30,6 +30,9 @@
6 #include <locale>
7 #include <sstream>
9 +#ifndef BOOST_DATE_TIME_NO_LIB
10 +#define BOOST_DATE_TIME_NO_LIB
11 +#endif
12 #include <boost/date_time/posix_time/posix_time.hpp>
14 #include "atom-document.hxx"
15 diff --git src/libcmis/object.hxx src/libcmis/object.hxx
16 index 449bb22..c320f06 100644
17 --- src/libcmis/object.hxx
18 +++ src/libcmis/object.hxx
19 @@ -36,6 +36,9 @@
20 #include <stdbool.h>
21 #endif
23 +#ifndef BOOST_DATE_TIME_NO_LIB
24 +#define BOOST_DATE_TIME_NO_LIB
25 +#endif
26 #include <boost/date_time.hpp>
27 #include <boost/shared_ptr.hpp>
28 #include <libxml/tree.h>
29 diff --git src/libcmis/property-type.hxx src/libcmis/property-type.hxx
30 index 1a8bee9..6ac946c 100644
31 --- src/libcmis/property-type.hxx
32 +++ src/libcmis/property-type.hxx
33 @@ -28,6 +28,9 @@
34 #ifndef _PROPERTY_TYPE_HXX_
35 #define _PROPERTY_TYPE_HXX_
37 +#ifndef BOOST_DATE_TIME_NO_LIB
38 +#define BOOST_DATE_TIME_NO_LIB
39 +#endif
40 #include <boost/date_time.hpp>
41 #include <libxml/tree.h>
43 diff --git src/libcmis/property.hxx src/libcmis/property.hxx
44 index f9be04a..2977fb3 100644
45 --- src/libcmis/property.hxx
46 +++ src/libcmis/property.hxx
47 @@ -31,6 +31,9 @@
48 #include <libxml/tree.h>
49 #include <libxml/xmlwriter.h>
51 +#ifndef BOOST_DATE_TIME_NO_LIB
52 +#define BOOST_DATE_TIME_NO_LIB
53 +#endif
54 #include <boost/date_time.hpp>
55 #include <boost/shared_ptr.hpp>
57 diff --git src/libcmis/ws-session.cxx src/libcmis/ws-session.cxx
58 index b906a5a..bf50644 100644
59 --- src/libcmis/ws-session.cxx
60 +++ src/libcmis/ws-session.cxx
61 @@ -28,6 +28,9 @@
63 #include <sstream>
65 +#ifndef BOOST_DATE_TIME_NO_LIB
66 +#define BOOST_DATE_TIME_NO_LIB
67 +#endif
68 #include <boost/date_time.hpp>
69 #include <libxml/parser.h>
70 #include <libxml/tree.h>
71 diff --git src/libcmis/xml-utils.hxx src/libcmis/xml-utils.hxx
72 index 52853e2..2f80b91 100644
73 --- src/libcmis/xml-utils.hxx
74 +++ src/libcmis/xml-utils.hxx
75 @@ -33,6 +33,9 @@
76 #include <sstream>
77 #include <string>
79 +#ifndef BOOST_DATE_TIME_NO_LIB
80 +#define BOOST_DATE_TIME_NO_LIB
81 +#endif
82 #include <boost/date_time.hpp>
83 #include <libxml/tree.h>
84 #include <libxml/xpathInternals.h>