diff options
author | Stéphane Graber <stgraber@ubuntu.com> | 2015-03-11 15:18:10 -0400 |
---|---|---|
committer | Stéphane Graber <stgraber@ubuntu.com> | 2015-03-11 16:19:50 -0400 |
commit | 3d6c6f934500002267363041852b31a7a4e32159 (patch) | |
tree | 5bece53f178b9895211893f90caeacb3c9368587 /_example/mod_vtable/sqlite3_mod_vtable.cc | |
parent | Merge pull request #178 from antoni/master (diff) | |
download | golite-3d6c6f934500002267363041852b31a7a4e32159.tar.gz golite-3d6c6f934500002267363041852b31a7a4e32159.tar.xz |
Rename sqlite3.{c,h} to sqlite3-binding.{c,h}
This fixes the problem where when building with gccgo, sqlite3.c is
overwritten, leading to a build failure.
An alternative would have been to move sqlite3*.{c,h} to a subdirectory,
but that seems to confuse the linker a fair bit and would just swap one
implementation-dependent issue for another.
Closes #20
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Diffstat (limited to '_example/mod_vtable/sqlite3_mod_vtable.cc')
-rw-r--r-- | _example/mod_vtable/sqlite3_mod_vtable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_example/mod_vtable/sqlite3_mod_vtable.cc b/_example/mod_vtable/sqlite3_mod_vtable.cc index 4caf484..5bd4e66 100644 --- a/_example/mod_vtable/sqlite3_mod_vtable.cc +++ b/_example/mod_vtable/sqlite3_mod_vtable.cc @@ -1,6 +1,6 @@ #include <string> #include <sstream> -#include <sqlite3.h> +#include <sqlite3-binding.h> #include <sqlite3ext.h> #include <curl/curl.h> #include "picojson.h" |