From 85cff857c7c5a7073203bc66386285641a38f5f7 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 3 Jun 2026 20:36:51 -0700 Subject: [PATCH] prowizard: use C++ linkage for host callbacks Pro-Wizard is built as C++ on Windows, so its host callback declarations should use normal C++ linkage. Drop the C-linkage guard around those callback declarations. Unix builds should match Windows by compiling Pro-Wizard as C++ instead of changing callback linkage. --- prowizard/include/extern.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/prowizard/include/extern.h b/prowizard/include/extern.h index 83f89487..593d3b42 100644 --- a/prowizard/include/extern.h +++ b/prowizard/include/extern.h @@ -356,12 +356,6 @@ extern char Extensions[_KNOWN_FORMATS+1][33]; extern Uchar CONVERT; extern Uchar Amiga_EXE_Header; -#ifdef __cplusplus -extern "C" { -#endif extern void pw_write_log (const char *, ...); extern FILE *moduleripper2_fopen (const char *name, const char *mode, const char *aid, int addr, int size); extern FILE *moduleripper_fopen (const char *aname, const char *amode); -#ifdef __cplusplus -} -#endif -- 2.47.3