vcpkg/ports/sqlite3/add-config-include.patch

25 lines
538 B
Diff
Raw Normal View History

diff --git a/sqlite3.c b/sqlite3.c
2023-11-09 01:42:58 +08:00
index a1fbd60..68a4e21 100644
--- a/sqlite3.c
+++ b/sqlite3.c
2023-11-09 01:42:58 +08:00
@@ -22,6 +22,7 @@
*/
#define SQLITE_CORE 1
#define SQLITE_AMALGAMATION 1
2023-11-09 01:42:58 +08:00
+#include "sqlite3-vcpkg-config.h"
#ifndef SQLITE_PRIVATE
2023-11-09 01:42:58 +08:00
# define SQLITE_PRIVATE static
#endif
diff --git a/sqlite3.h b/sqlite3.h
2023-11-09 01:42:58 +08:00
index 0376113..271cf53 100644
--- a/sqlite3.h
+++ b/sqlite3.h
@@ -32,6 +32,7 @@
*/
#ifndef SQLITE3_H
#define SQLITE3_H
2023-09-14 06:42:37 +08:00
+#include "sqlite3-vcpkg-config.h"
#include <stdarg.h> /* Needed for the definition of va_list */
/*