From 781548472b9ac4609ecfff5918444564cbb75500 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 21 Dec 2012 18:27:57 +0200 Subject: VS2012 WaE: C4211: nonstandard extension used : redefined extern to static Some screwup with hypot(). As a workaround, include early. Change-Id: Ic8c6abc45f8502097c6b6b619108d50ea3c22392 --- pyuno/source/module/pyuno_impl.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyuno') diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx index e794c9d40738..6231bade2165 100644 --- a/pyuno/source/module/pyuno_impl.hxx +++ b/pyuno/source/module/pyuno_impl.hxx @@ -19,6 +19,11 @@ #ifndef _PYUNO_IMPL_ #define _PYUNO_IMPL_ +#if defined(_MSC_VER) && (_MSC_VER >= 1700) +// Workaround for some horrible hypot() mess +#include +#endif + #include //Must define PyVarObject_HEAD_INIT for Python 2.5 or older -- cgit v1.2.3