From fcaaed91eb534461f1c68315f1b16aae47e27a12 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Fri, 12 Jan 2007 16:36:34 +0000 Subject: [PATCH] Fix callback function decoration with latest aqbanking/gwenhywfar on win32 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15344 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/import-export/hbci/hbci-interaction.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/import-export/hbci/hbci-interaction.c b/src/import-export/hbci/hbci-interaction.c index 969be2fd24..1f186332f4 100644 --- a/src/import-export/hbci/hbci-interaction.c +++ b/src/import-export/hbci/hbci-interaction.c @@ -503,7 +503,12 @@ static int keepAlive(void *user_data) } -static void destr(void *bp, void *user_data) +#ifndef GWENHYWFAR_CB +/* Has been introduced in gwenhywfar>=2.4.1 for callback function + decoration on win32, but is empty everywhere else. */ +# define GWENHYWFAR_CB +#endif +static void GWENHYWFAR_CB destr(void *bp, void *user_data) { GNCInteractor *data = user_data; if (data == NULL)