Skip to content

Commit a6d29ee

Browse files
committed
rm the provider dynamic stuff from batteries_v2.cs
1 parent 2eba44b commit a6d29ee

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Copyright>Copyright 2014-2025 SourceGear, LLC</Copyright>
55
<Company>SourceGear</Company>
66
<Authors>Eric Sink</Authors>
7-
<Version>3.0.0-pre20250710115030</Version>
7+
<Version>3.0.0-pre20250710115751</Version>
88
<AssemblyVersion>3.0.0.2747</AssemblyVersion>
99
<FileVersion>3.0.0.2747</FileVersion>
1010
<Description>SQLitePCLRaw is a Portable Class Library (PCL) for low-level (raw) access to SQLite</Description>

src/common/batteries_v2.cs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -99,26 +99,6 @@ public static void Init()
9999
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_winsqlite3());
100100
#elif PROVIDER_internal
101101
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_internal());
102-
#elif PROVIDER_dynamic
103-
104-
#if PROVIDER_NAME_e_sqlite3
105-
DoDynamic_cdecl("e_sqlite3", NativeLibrary.WHERE_RUNTIME_RID | NativeLibrary.WHERE_ADJACENT | NativeLibrary.WHERE_CODEBASE);
106-
#elif PROVIDER_NAME_e_sqlcipher
107-
DoDynamic_cdecl("e_sqlcipher", NativeLibrary.WHERE_RUNTIME_RID | NativeLibrary.WHERE_ADJACENT);
108-
#elif PROVIDER_NAME_e_sqlite3mc
109-
DoDynamic_cdecl("e_sqlite3mc", NativeLibrary.WHERE_RUNTIME_RID | NativeLibrary.WHERE_ADJACENT);
110-
#elif PROVIDER_NAME_sqlcipher
111-
DoDynamic_cdecl("sqlcipher", NativeLibrary.WHERE_ARCH); // TODO coordinate with zetetic
112-
#elif PROVIDER_NAME_winsqlite3
113-
DoDynamic_stdcall("winsqlite3", NativeLibrary.WHERE_PLAIN);
114-
#elif PROVIDER_NAME_sqlite3
115-
DoDynamic_cdecl("sqlite3", NativeLibrary.WHERE_PLAIN);
116-
#else
117-
#error batteries_v2.cs built with PROVIDER_dynamic but no PROVIDER_NAME specified
118-
#endif
119-
120-
#elif PROVIDER_none
121-
throw new Exception("This is the 'bait'. You probably need to add one of the SQLitePCLRaw.bundle_* nuget packages to your platform project.");
122102
#else
123103
#error batteries_v2.cs built with nothing specified
124104
#endif

0 commit comments

Comments
 (0)