3.5 release is needed for MSVC 14.0 (aka VS 2015) support. Python 3.5 removed build toolchain support for MSVC 2013. Because we still need to support it, we duplicate the Python directory in externals and copy old patches and dispatch to this directory for MSVC 2013. Once the support for MSVC 2013 is dropped on master, this directory can be removed again. Change-Id: Idf7bc351239582f583ecbdb53c923cbdcf968089 Reviewed-on: https://gerrit.libreoffice.org/17352 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
22 lines
504 B
Plaintext
22 lines
504 B
Plaintext
--- Objects/obmalloc.c
|
|
+++ Objects/obmalloc.c
|
|
@@ -9,8 +9,8 @@
|
|
#endif
|
|
#endif
|
|
|
|
+#define WITH_VALGRIND
|
|
#ifdef WITH_VALGRIND
|
|
-#include <valgrind/valgrind.h>
|
|
|
|
/* If we're using GCC, use __builtin_expect() to reduce overhead of
|
|
the valgrind checks */
|
|
@@ -771,7 +771,7 @@
|
|
|
|
#ifdef WITH_VALGRIND
|
|
if (UNLIKELY(running_on_valgrind == -1))
|
|
- running_on_valgrind = RUNNING_ON_VALGRIND;
|
|
+ running_on_valgrind = 1;
|
|
if (UNLIKELY(running_on_valgrind))
|
|
goto redirect;
|
|
#endif
|