diff --git a/Modules/overlapped.c b/Modules/overlapped.c index 8e6d397e227..f85e5bc7364 100644 --- a/Modules/overlapped.c +++ b/Modules/overlapped.c @@ -23,6 +23,12 @@ # define T_POINTER T_ULONGLONG #endif +/* Compatibility with Python 3.3 */ +#if PY_VERSION_HEX < 0x03040000 +# define PyMem_RawMalloc PyMem_Malloc +# define PyMem_RawFree PyMem_Free +#endif + #define F_HANDLE F_POINTER #define F_ULONG_PTR F_POINTER #define F_DWORD "k"