mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 10:29:27 +08:00
left worktable.c out of Makefile.am
use proper glib version in extras/
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
bin_PROGRAMS = mdb-dump
|
||||
mdb_dump_SOURCES = mdb-dump.c mdbsupport.c
|
||||
INCLUDES = -I$(top_srcdir)/include `glib-config --cflags`
|
||||
INCLUDES = -I$(top_srcdir)/include $(GLIB_CFLAGS)
|
||||
LDADD = ../libmdb/libmdb.la
|
||||
LIBS = `glib-config --libs`
|
||||
LIBS = $(GLIB_LIBS)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
lib_LTLIBRARIES = libmdb.la
|
||||
libmdb_la_SOURCES= catalog.c mem.c file.c kkd.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c
|
||||
libmdb_la_SOURCES= catalog.c mem.c file.c kkd.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c
|
||||
INCLUDES = -I$(top_srcdir)/include $(GLIB_CFLAGS)
|
||||
LIBS = $(GLIB_LIBS) -lm
|
||||
|
||||
@@ -123,8 +123,10 @@ int bit_num = (col_num - 1) % 8;
|
||||
}
|
||||
/* bool has to be handled specially because it uses the null bit to store its
|
||||
** value*/
|
||||
static int mdb_xfer_bound_bool(MdbHandle *mdb, MdbColumn *col, int value)
|
||||
static int
|
||||
mdb_xfer_bound_bool(MdbHandle *mdb, MdbColumn *col, int value)
|
||||
{
|
||||
|
||||
col->cur_value_len = value;
|
||||
if (col->bind_ptr) {
|
||||
strcpy(col->bind_ptr, value ? "0" : "1");
|
||||
|
||||
Reference in New Issue
Block a user