From: Stefan Reinauer Date: Thu, 4 Jun 2026 03:36:51 +0000 (-0700) Subject: prowizard: use C++ linkage for host callbacks X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=85cff857c7c5a7073203bc66386285641a38f5f7;p=francis%2Fwinuae.git 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. --- 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