From: Daniele Varrazzo Date: Thu, 22 Dec 2022 22:19:07 +0000 (+0000) Subject: chore(c): lean win32 X-Git-Tag: 3.1.8~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc54d779855a2e291a6f95518a8e79a851c6843e;p=thirdparty%2Fpsycopg.git chore(c): lean win32 --- diff --git a/psycopg_c/psycopg_c/_psycopg.pyx b/psycopg_c/psycopg_c/_psycopg.pyx index a4d28b3c4..5bbde2b91 100644 --- a/psycopg_c/psycopg_c/_psycopg.pyx +++ b/psycopg_c/psycopg_c/_psycopg.pyx @@ -30,6 +30,7 @@ cdef extern from *: """ /* Include this early to avoid a warning about redefined ARRAYSIZE in winnt.h */ #ifdef MS_WINDOWS +#define WIN32_LEAN_AND_MEAN #include #endif