mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-11-02 09:49:06 -06:00
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:
1 parent
95729dc1da
commit
fcaaed91eb
1 file changed
+6
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user