[gnome-db] pussible bug in mdb provider: MDB_SDATETIME undeclared

Andrea Zagli <[email protected]> Mon, 27 Feb 2012 12:33:32 +0100
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
i'm trying to compile libgda 4.2 under gnu/linux with latest mdbtools  
(0.7-rc1) (not the libgda embedded) and i get the error in object

i simply add the little patch attached (it also converts the file to utf8)

thanks in advance

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
patch.patch (application/octet-stream, 1.1 KB)
diff --git a/providers/mdb/gda-mdb-provider.c b/providers/mdb/gda-mdb-provider.c
index 336e9c0..9dcff08 100644
--- a/providers/mdb/gda-mdb-provider.c
+++ b/providers/mdb/gda-mdb-provider.c
@@ -4,9 +4,9 @@
  * Copyright (C) 2003 Filip Van Raemdonck <[email protected]>
  * Copyright (C) 2003 Gonzalo Paniagua Javier <[email protected]>
  * Copyright (C) 2004 Julio M. Merino Vidal <[email protected]>
- * Copyright (C) 2004 Jürg Billeter <[email protected]>
+ * Copyright (C) 2004 Jürg Billeter <[email protected]>
  * Copyright (C) 2005 - 2009 Vivien Malerba <[email protected]>
- * Copyright (C) 2005 Álvaro Peña <[email protected]>
+ * Copyright (C) 2005 Álvaro Peña <[email protected]>
  * Copyright (C) 2006 - 2007 Murray Cumming <[email protected]>
  * Copyright (C) 2007 yselkowitz <[email protected]>
  *
@@ -37,6 +37,8 @@
 #include "gda-mdb.h"
 #include "gda-mdb-provider.h"
 
+#define MDB_SDATETIME MDB_DATETIME
+
 #include <libgda/handlers/gda-handler-numerical.h>
 #include <libgda/handlers/gda-handler-boolean.h>
 #include <libgda/handlers/gda-handler-time.h>