Skip to content

Commit

Permalink
fix db version check to respect MAJOR>4
Browse files Browse the repository at this point in the history
--HG--
branch : 0.6
extra : transplant_source : l1%1Eqj%10%D6m%A0%406%A8%11W%A0%A2E%21%3F%7D
  • Loading branch information
aep committed May 4, 2010
1 parent 94c579c commit c12717a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.tests/db/main.cpp
Expand Up @@ -4,6 +4,8 @@
#error db>=4.4 required
#endif

#if DB_VERSION_MAJOR < 5

#if DB_VERSION_MINOR < 4
#error db>=4.4 required
#endif
Expand All @@ -12,6 +14,8 @@
#warning db < 4.6, some features will be disabled
#endif

#endif

int main (int,char**)
{
DB * db;
Expand Down

0 comments on commit c12717a

Please sign in to comment.