fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / python3 / python-3.3.3-disable-obmalloc.patch.0
blob639cff65db23e7dc6d5fc81f5d2d2d55ce4575eb
1 --- Objects/obmalloc.c
2 +++ Objects/obmalloc.c
3 @@ -9,8 +9,8 @@
4   #endif
5  #endif
6  
7 +#define WITH_VALGRIND
8  #ifdef WITH_VALGRIND
9 -#include <valgrind/valgrind.h>
11  /* If we're using GCC, use __builtin_expect() to reduce overhead of
12     the valgrind checks */
13 @@ -771,7 +771,7 @@
15  #ifdef WITH_VALGRIND
16      if (UNLIKELY(running_on_valgrind == -1))
17 -        running_on_valgrind = RUNNING_ON_VALGRIND;
18 +        running_on_valgrind = 1;
19      if (UNLIKELY(running_on_valgrind))
20          goto redirect;
21  #endif