Move C code to amalgamation

Fixes #1020
This commit is contained in:
Yasuhiro Matsumoto 2022-02-24 08:43:59 +09:00
parent ae2a61f847
commit 01b1e89847
No known key found for this signature in database
GPG Key ID: 622DE34DC490584B
17 changed files with 13 additions and 13 deletions

View File

@ -7,7 +7,7 @@ package sqlite3
/*
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -12,7 +12,7 @@ package sqlite3
/*
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -7,7 +7,7 @@ package sqlite3
/*
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -25,7 +25,7 @@ package sqlite3
#cgo openbsd CFLAGS: -I/usr/local/include
#cgo openbsd LDFLAGS: -L/usr/local/lib
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -8,7 +8,7 @@ package sqlite3
/*
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -9,7 +9,7 @@ package sqlite3
/*
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -5,7 +5,7 @@ package sqlite3
/*
#ifndef USE_LIBSQLITE3
#cgo CFLAGS: -DSQLITE_ENABLE_COLUMN_METADATA
#include <sqlite3-binding.h>
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -13,7 +13,7 @@ package sqlite3
#cgo LDFLAGS: -lm
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -12,7 +12,7 @@ package sqlite3
#cgo CFLAGS: -DSQLITE_ENABLE_UNLOCK_NOTIFY
#include <stdlib.h>
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
extern void unlock_notify_callback(void *arg, int argc);
*/

View File

@ -11,7 +11,7 @@ package sqlite3
#cgo CFLAGS: -DSQLITE_USER_AUTHENTICATION
#cgo LDFLAGS: -lm
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -19,7 +19,7 @@ package sqlite3
#cgo CFLAGS: -Wno-deprecated-declarations
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -9,7 +9,7 @@ package sqlite3
/*
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif

View File

@ -6,7 +6,7 @@ package sqlite3
/*
#ifndef USE_LIBSQLITE3
#include "sqlite3-binding.h"
#include "amalgamation/sqlite3-binding.h"
#else
#include <sqlite3.h>
#endif