mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
guart #include "sqlite3ext.h" with SQLITE_CORE
This commit is contained in:
parent
2998a24462
commit
fb11a2b32e
2 changed files with 10 additions and 0 deletions
|
|
@ -15,8 +15,14 @@
|
|||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SQLITE_CORE
|
||||
#include "sqlite3ext.h"
|
||||
SQLITE_EXTENSION_INIT1
|
||||
#else
|
||||
#include "sqlite3.h"
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef UINT32_TYPE
|
||||
#ifdef HAVE_UINT32_T
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
#ifndef SQLITE_VEC_H
|
||||
#define SQLITE_VEC_H
|
||||
|
||||
#ifndef SQLITE_CORE
|
||||
#include "sqlite3ext.h"
|
||||
#else
|
||||
#include "sqlite3.h"
|
||||
#endif
|
||||
|
||||
#ifdef SQLITE_VEC_STATIC
|
||||
#define SQLITE_VEC_API
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue