summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-03-03 17:05:14 +0800
committerPeng Wu <alexepico@gmail.com>2016-03-03 17:05:14 +0800
commitd602f8dd52fa4aea9e8f53066483b6bf97168794 (patch)
treed4a9add669fa7809714f198b348d5c68712dca65 /src/storage
parent21892aaad6e37ab6134c2bd9270605270964c893 (diff)
downloadlibpinyin-d602f8dd52fa4aea9e8f53066483b6bf97168794.tar.gz
libpinyin-d602f8dd52fa4aea9e8f53066483b6bf97168794.tar.xz
libpinyin-d602f8dd52fa4aea9e8f53066483b6bf97168794.zip
fixes compile
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/bdb_utils.h2
-rw-r--r--src/storage/phrase_large_table3_bdb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/bdb_utils.h b/src/storage/bdb_utils.h
index 8aa0f40..b7c4d3a 100644
--- a/src/storage/bdb_utils.h
+++ b/src/storage/bdb_utils.h
@@ -27,7 +27,7 @@
namespace pinyin{
-inline u_int32_t attach_option(guint32 flags) {
+inline u_int32_t attach_options(guint32 flags) {
u_int32_t db_flags = 0;
if (flags & ATTACH_READONLY)
diff --git a/src/storage/phrase_large_table3_bdb.cpp b/src/storage/phrase_large_table3_bdb.cpp
index 28d2428..f8f0d82 100644
--- a/src/storage/phrase_large_table3_bdb.cpp
+++ b/src/storage/phrase_large_table3_bdb.cpp
@@ -21,7 +21,7 @@
#include "phrase_large_table3.h"
#include <errno.h>
-
+#include "bdb_utils.h"
namespace pinyin{