r18973 - gnucash/trunk/src/gnc - Cutecash: Fix missing #ifdefs for dbi calls.

Christian Stimming cstim at code.gnucash.org
Sun Mar 28 06:46:10 EDT 2010


Author: cstim
Date: 2010-03-28 06:46:10 -0400 (Sun, 28 Mar 2010)
New Revision: 18973
Trac: http://svn.gnucash.org/trac/changeset/18973

Modified:
   gnucash/trunk/src/gnc/main.cpp
Log:
Cutecash: Fix missing #ifdefs for dbi calls.

Modified: gnucash/trunk/src/gnc/main.cpp
===================================================================
--- gnucash/trunk/src/gnc/main.cpp	2010-03-27 22:08:17 UTC (rev 18972)
+++ gnucash/trunk/src/gnc/main.cpp	2010-03-28 10:46:10 UTC (rev 18973)
@@ -177,7 +177,9 @@
     // Call the statically-linked versions of the backend init
     // functions
     gnc_module_init_backend_xml();
+#ifdef WITH_SQL
     gnc_module_init_backend_dbi();
+#endif
     gnc_module_init_business_core_init();
     gnc_module_init_business_core_xml_init();
     gnc_ui_util_init();
@@ -198,7 +200,9 @@
 
     // Shutdown of the C side after all C++ was destructed already.
     gnc_exp_parser_shutdown();
+#ifdef WITH_SQL
     gnc_module_finalize_backend_dbi();
+#endif
     qof_close();
     return r;
 



More information about the gnucash-changes mailing list