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
This commit is contained in:
Christian Stimming committed 2007-01-12 16:36:34 +00:00
1 parent 95729dc1da
commit fcaaed91eb
1 file changed
+6 -1
+6 -1
View File
@@ -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)