fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / python3 / python-3.3.0-gcc-4.8.patch.1
blob8fb7107ff29901c2e74b2966474313a60e7addb2
1 --- Python-3.3.0/Include/modsupport.h   2012-09-29 10:00:26.000000000 +0200
2 +++ Python-3.3.0/Include/modsupport.h   2013-03-08 10:46:28.671938738 +0100
3 @@ -26,7 +26,11 @@
4  /* Due to a glitch in 3.2, the _SizeT versions weren't exported from the DLL. */
5  #if !defined(PY_SSIZE_T_CLEAN) || !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
6  PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);
7 -PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
8 +PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...)
9 +#ifdef PY_SSIZE_T_CLEAN
10 +    Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3)
11 +#endif
12 +    ;
13  PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
14                                                    const char *, char **, ...);
15  PyAPI_FUNC(int) PyArg_ValidateKeywordArguments(PyObject *);