summaryrefslogtreecommitdiff
path: root/connectivity/inc
diff options
context:
space:
mode:
authorAshod Nakashian <ashodnakashian@yahoo.com>2015-11-18 07:49:58 -0500
committerMichael Stahl <mstahl@redhat.com>2015-12-04 11:26:22 +0000
commita027ed9573858f3ec6361577ff541d7f2495bd32 (patch)
tree2cb6864e2b27f22af72d3d491e40e8f21d23699a /connectivity/inc
parent9e2973dbb90b5d9ce004cbf333f5000e4d50dc18 (diff)
Wingdi RGB macro handling improved
Improved the isolation of windows headers. Specifically, RGB macro is better handled now. Change-Id: I0eeea16d0de9da3455810c80b0715f7b54ae8c3f Reviewed-on: https://gerrit.libreoffice.org/20039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'connectivity/inc')
-rw-r--r--connectivity/inc/pch/precompiled_ado.hxx9
-rw-r--r--connectivity/inc/pch/precompiled_odbc.hxx6
2 files changed, 6 insertions, 9 deletions
diff --git a/connectivity/inc/pch/precompiled_ado.hxx b/connectivity/inc/pch/precompiled_ado.hxx
index 22018806b9f7..1f4b17ca83ad 100644
--- a/connectivity/inc/pch/precompiled_ado.hxx
+++ b/connectivity/inc/pch/precompiled_ado.hxx
@@ -13,7 +13,7 @@
manual changes will be rewritten by the next run of update_pch.sh (which presumably
also fixes all possible problems, so it's usually better to use it).
- Generated on 2015-11-14 14:16:28 using:
+ Generated on 2015-12-02 12:47:53 using:
./bin/update_pch connectivity ado --cutoff=2 --exclude:system --exclude:module --exclude:local
If after updating build fails, use the following command to locate conflicting headers:
@@ -69,8 +69,9 @@
#include <connectivity/dbtoolsdllapi.hxx>
#include <connectivity/sdbcx/IRefreshable.hxx>
-// Prevent windows header macro pollution.
-#undef OPTIONAL
-#undef DELETE
+// Cleanup windows header macro pollution.
+#ifdef WNT
+# include <postwin.h>
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/inc/pch/precompiled_odbc.hxx b/connectivity/inc/pch/precompiled_odbc.hxx
index 05804081d956..94aeae5accb1 100644
--- a/connectivity/inc/pch/precompiled_odbc.hxx
+++ b/connectivity/inc/pch/precompiled_odbc.hxx
@@ -13,7 +13,7 @@
manual changes will be rewritten by the next run of update_pch.sh (which presumably
also fixes all possible problems, so it's usually better to use it).
- Generated on 2015-11-14 14:16:28 using:
+ Generated on 2015-12-02 12:47:53 using:
./bin/update_pch connectivity odbc --cutoff=2 --exclude:system --exclude:module --include:local
If after updating build fails, use the following command to locate conflicting headers:
@@ -22,8 +22,6 @@
#include <algorithm>
#include <cstddef>
-#include <stddef.h>
-#include <stdlib.h>
#include <string.h>
#include <boost/type_traits/is_same.hpp>
#include <boost/type_traits/remove_reference.hpp>
@@ -38,10 +36,8 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/config.h>
-#include <sal/macros.h>
#include <sal/saldllapi.h>
#include <sal/types.h>
-#include <sal/typesizes.h>
#include <salhelper/singletonref.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>