r15344 - gnucash/trunk/src/import-export/hbci - Fix callback function decoration with latest aqbanking/gwenhywfar on win32

Christian Stimming cstim at cvs.gnucash.org
Fri Jan 12 11:36:35 EST 2007


Author: cstim
Date: 2007-01-12 11:36:34 -0500 (Fri, 12 Jan 2007)
New Revision: 15344
Trac: http://svn.gnucash.org/trac/changeset/15344

Modified:
   gnucash/trunk/src/import-export/hbci/hbci-interaction.c
Log:
Fix callback function decoration with latest aqbanking/gwenhywfar on win32

Modified: gnucash/trunk/src/import-export/hbci/hbci-interaction.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/hbci-interaction.c	2007-01-12 16:35:26 UTC (rev 15343)
+++ gnucash/trunk/src/import-export/hbci/hbci-interaction.c	2007-01-12 16:36:34 UTC (rev 15344)
@@ -503,7 +503,12 @@
 }
 
 
-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)



More information about the gnucash-changes mailing list