Skip to content

Commit 82e3c2a

Browse files
committed
Expose version as MODERN_SQLITE_VERSION macro
Can be updated with sed -i -r 's/(#define MODERN_SQLITE_VERSION).*$'\ "/\\1$(git describe --tags|cut -d- -f1,2 --output-delimiter=. \ |tr '.v' '\n '|dc -e '? 1000 * ? + 1000 * ? 1 + + p')/" hdr/sqlite_modern_cpp.h
1 parent 8ceda86 commit 82e3c2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hdr/sqlite_modern_cpp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#include <locale>
1212
#include <codecvt>
1313

14+
#define MODERN_SQLITE_VERSION 3002008
15+
1416
#ifdef __has_include
1517
#if __cplusplus > 201402 && __has_include(<optional>)
1618
#define MODERN_SQLITE_STD_OPTIONAL_SUPPORT

0 commit comments

Comments
 (0)