EBookBackendFile: Fix a warning caused by Berkeley DB v5.
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 3 Mar 2012 16:30:27 +0000 (11:30 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 3 Mar 2012 16:30:27 +0000 (11:30 -0500)
commit0febec1f85c9dc0f90c88dd3e6093baca04bbc15
tree19eecef02040c995a6d71244b33f3446672cff69
parentfd4c77f208414e0f64de43e5cf42f16db521710b
EBookBackendFile: Fix a warning caused by Berkeley DB v5.

Our preprocessor macro was only checking for:

   #if DB_VERSION_MAJOR == 4 && DB_VERSION_MAJOR > 3
       /* use new function signature */
   #else
       /* use old function signature */
   #endif
addressbook/backends/file/e-book-backend-file.c