From 5c90a050918733c7a143ff0906ffe6553a98b168 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Fri, 26 Jun 2020 21:26:17 +0200 Subject: [PATCH] WIP: Trying to fix Perl bindings on Windows. --- xs/main.xs.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xs/main.xs.in b/xs/main.xs.in index 3523d569ea..c10f432d83 100644 --- a/xs/main.xs.in +++ b/xs/main.xs.in @@ -5,7 +5,7 @@ // #include #ifdef __cplusplus -extern "C" { +/* extern "C" { */ #endif #include "EXTERN.h" #include "perl.h" @@ -14,7 +14,7 @@ extern "C" { #undef do_open #undef do_close #ifdef __cplusplus -} +/* } */ #endif #ifdef _WIN32