Commit Graph

11 Commits

Author SHA1 Message Date
Berthold Stoeger
aec4b1fbcd Move includes out of extern "C" block
"mbdtools.h" couldn't be included from C++ files, because the "glib.h"
include is in the extern "C" block. The latter includes C++ headers
for C++ source files, which define templates. These don't work with
extern "C" linkage and the compilation falls apart with numerous
errors.

To fix this problem, move the includes out of the extern "C" block.
2024-03-18 08:10:59 +01:00
Nyall Dawson
98ef4a1663 [odbc] Ensure repid field formatting matching Microsoft Access ODBC
driver formatting of these fields (i.e. without surrounding {} braces)
2021-08-30 09:34:29 +10:00
Evan Miller
0164b4df1a Move Unicode ODBC functions to separate file (remove ODBC's iconv)
Use wcstombs and friends to perform Unicode conversion inside the ODBC
driver. Functionality should be identical as before, except that
installations without iconv will now be able to compile and install the
Unicode (libmdbodbcW) driver.

iconv remains present in the main libmdb library.
2021-08-23 13:39:39 -04:00
Evan Miller
00d597b6d3 Simplify header 2021-08-22 21:33:33 -04:00
Evan Miller
d3eea5f38e Simplify some locale_t code 2021-08-22 12:20:13 -04:00
Evan Miller
0346f00735 Report iconv support at end of configure 2021-08-22 07:38:20 -04:00
Nyall Dawson
fadd536e2e
Add support for <> SQL operator (#329) 2021-08-22 00:28:29 -04:00
Evan Miller
3ad1669b2e Restore previous MdbHandle struct layout 2021-08-20 07:20:50 -04:00
Evan Miller
7fb7660b09 Restore previous mdb_register_backend API
Add new mdbi_register_backend2 function with the features introduced in
PRs #321 and #322. The purpose is to prevent API/ABI breakage in the
1.0 release.
2021-08-19 06:23:16 -04:00
Evan Miller
2a58435fbf Fix build 2021-08-04 15:39:09 -04:00
Evan Miller
e88e3cc7e7 Remove HAVE_ macros from mdbtools.h and mdbsql.h
Generate mdbtools.h at configure-time. This ensures that the public
interface matches the compiled structures.

See #316
2021-08-04 15:29:23 -04:00