added USE_SQLITE3 option
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 8s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s

This commit is contained in:
wt committed 2025-10-20 17:29:32 +07:00
1 parent 634245e3ad
commit 73a73976fe
18 files changed
+115 -32

No files matched your search

+5 -3
View File
@@ -1,11 +1,13 @@
#pragma once
#include <pthread.h>
#include <sqlite3.h>
extern sqlite3* db;
#ifdef USE_SQLITE3
#include <sqlite3.h>
extern sqlite3 *db;
extern pthread_mutex_t db_mutex;
#endif
void init_db();
void migrate_db();
char* json_escape(const char* str);
char *json_escape(const char *str);