Ticket #62929: sqlitevers.c
File sqlitevers.c, 308 bytes (added by jmroot (Joshua Root), 3 years ago) |
---|
Line | |
---|---|
1 | /* build like this: /usr/bin/cc sqlitevers.c -o sqlitevers -lsqlite3 |
2 | * run like this: ./sqlitevers |
3 | */ |
4 | |
5 | |
6 | #include <stdio.h> |
7 | #include <sqlite3.h> |
8 | |
9 | int main(void) { |
10 | printf("SQLite header version: %d \n", SQLITE_VERSION_NUMBER); |
11 | printf("SQLite runtime version: %d \n", sqlite3_libversion_number()); |
12 | } |