From fc54d779855a2e291a6f95518a8e79a851c6843e Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Thu, 22 Dec 2022 22:19:07 +0000 Subject: [PATCH] chore(c): lean win32 --- psycopg_c/psycopg_c/_psycopg.pyx | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2