From 003fc6dde1f4cb312442874b743b91c4888372cc Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Fri, 28 Dec 2018 03:32:22 +0100 Subject: [PATCH] Use the real definition of Py_LOCAL_INLINE --- psycopg/bytes_format.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/psycopg/bytes_format.c b/psycopg/bytes_format.c index c11b1b7d..991f7605 100644 --- a/psycopg/bytes_format.c +++ b/psycopg/bytes_format.c @@ -79,10 +79,7 @@ #define PSYCOPG_MODULE #include "psycopg/psycopg.h" - -#ifndef Py_LOCAL_INLINE -#define Py_LOCAL_INLINE(type) static type -#endif +#include "pyport.h" /* Helpers for formatstring */