Skip to content

Commit 9af8d8d

Browse files
committed
Restore #ifdef
1 parent 27f1d3e commit 9af8d8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Include/cpython/object.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ PyAPI_FUNC(PyObject *) _PyObject_FunctionStr(PyObject *);
379379
/* Py_XSETREF() is a variant of Py_SETREF() that uses Py_XDECREF() instead of
380380
* Py_DECREF().
381381
*/
382-
#if defined(_Py_TYPEOF)
382+
#ifdef _Py_TYPEOF
383383
#define Py_XSETREF(dst, src) \
384384
do { \
385385
_Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \

0 commit comments

Comments
 (0)