File: main.cpp

package info (click to toggle)
libqxt 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 19,000 kB
  • ctags: 6,583
  • sloc: cpp: 57,582; xml: 296; sh: 256; makefile: 60; php: 14
file content (26 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <db.h>

#if DB_VERSION_MAJOR < 4
#error db>=4.4 required
#endif

#if DB_VERSION_MAJOR < 5

#if DB_VERSION_MINOR < 4
#error db>=4.4 required
#endif

#if DB_VERSION_MINOR < 6
#warning db < 4.6, some features will be disabled
#endif

#endif

int main (int,char**)
{
    DB * db;
    db_create(&db, NULL, 0);
    return 0;
}