From f1276332baa0f4a043ea389f6e0517a98fa883cb Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Fri, 8 Apr 2022 13:47:45 +0200 Subject: [PATCH] Fix compilation of perl xs on Windows with boost 1.78 --- xs/src/xsinit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xs/src/xsinit.h b/xs/src/xsinit.h index cbb55077b..19e25c54d 100644 --- a/xs/src/xsinit.h +++ b/xs/src/xsinit.h @@ -70,6 +70,7 @@ #undef fclose #undef sleep #undef snprintf + #undef vsnprintf #undef strerror #undef test #undef times @@ -84,6 +85,7 @@ #undef select // Because of TBB + #undef _WIN32_WINNT // To avoid compiler warnings #define _WIN32_WINNT 0x0502 #endif /* _MSC_VER */ #undef Zero