diff options
-rw-r--r-- | tests/lookup/test_phrase_lookup.cpp | 4 | ||||
-rw-r--r-- | tests/lookup/test_pinyin_lookup.cpp | 4 | ||||
-rw-r--r-- | tests/storage/test_chewing_table.cpp | 4 | ||||
-rw-r--r-- | tests/storage/test_matrix.cpp | 4 | ||||
-rw-r--r-- | tests/storage/test_parser2.cpp | 4 | ||||
-rw-r--r-- | tests/storage/test_phrase_table.cpp | 4 | ||||
-rw-r--r-- | tests/test_chewing.cpp | 4 | ||||
-rw-r--r-- | tests/test_phrase.cpp | 4 | ||||
-rw-r--r-- | tests/test_pinyin.cpp | 4 | ||||
-rw-r--r-- | utils/segment/mergeseq.cpp | 4 | ||||
-rw-r--r-- | utils/segment/ngseg.cpp | 4 | ||||
-rw-r--r-- | utils/segment/spseg.cpp | 4 | ||||
-rw-r--r-- | utils/storage/import_interpolation.cpp | 4 | ||||
-rw-r--r-- | utils/training/eval_correction_rate.cpp | 4 | ||||
-rw-r--r-- | utils/training/gen_deleted_ngram.cpp | 4 | ||||
-rw-r--r-- | utils/training/gen_k_mixture_model.cpp | 4 | ||||
-rw-r--r-- | utils/training/gen_ngram.cpp | 4 | ||||
-rw-r--r-- | utils/training/import_k_mixture_model.cpp | 4 | ||||
-rw-r--r-- | utils/training/k_mixture_model_to_interpolation.cpp | 4 |
19 files changed, 76 insertions, 0 deletions
diff --git a/tests/lookup/test_phrase_lookup.cpp b/tests/lookup/test_phrase_lookup.cpp index 4febcc7..3a475b9 100644 --- a/tests/lookup/test_phrase_lookup.cpp +++ b/tests/lookup/test_phrase_lookup.cpp @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <locale.h> #include "pinyin_internal.h" diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp index 26c2d73..b0af455 100644 --- a/tests/lookup/test_pinyin_lookup.cpp +++ b/tests/lookup/test_pinyin_lookup.cpp @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "timer.h" #include <string.h> #include "pinyin_internal.h" diff --git a/tests/storage/test_chewing_table.cpp b/tests/storage/test_chewing_table.cpp index 469819f..f417c65 100644 --- a/tests/storage/test_chewing_table.cpp +++ b/tests/storage/test_chewing_table.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "timer.h" #include <string.h> #include "pinyin_internal.h" diff --git a/tests/storage/test_matrix.cpp b/tests/storage/test_matrix.cpp index b6af231..a746927 100644 --- a/tests/storage/test_matrix.cpp +++ b/tests/storage/test_matrix.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "timer.h" #include <stdlib.h> #include "pinyin_internal.h" diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp index 2752021..5c406ea 100644 --- a/tests/storage/test_parser2.cpp +++ b/tests/storage/test_parser2.cpp @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "timer.h" #include <errno.h> #include <stdio.h> diff --git a/tests/storage/test_phrase_table.cpp b/tests/storage/test_phrase_table.cpp index 0aebdde..041588d 100644 --- a/tests/storage/test_phrase_table.cpp +++ b/tests/storage/test_phrase_table.cpp @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "timer.h" #include <string.h> #include "pinyin_internal.h" diff --git a/tests/test_chewing.cpp b/tests/test_chewing.cpp index 7bc6422..d0f9c9b 100644 --- a/tests/test_chewing.cpp +++ b/tests/test_chewing.cpp @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pinyin.h" #include <stdio.h> #include <stdlib.h> diff --git a/tests/test_phrase.cpp b/tests/test_phrase.cpp index 57dd9fc..a983f40 100644 --- a/tests/test_phrase.cpp +++ b/tests/test_phrase.cpp @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pinyin.h" #include <stdio.h> #include <stdlib.h> diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp index d0fb9f3..01e60c5 100644 --- a/tests/test_pinyin.cpp +++ b/tests/test_pinyin.cpp @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pinyin.h" #include <stdio.h> #include <stdlib.h> diff --git a/utils/segment/mergeseq.cpp b/utils/segment/mergeseq.cpp index 8adabb0..dc9dafc 100644 --- a/utils/segment/mergeseq.cpp +++ b/utils/segment/mergeseq.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <locale.h> #include <string.h> diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp index 6ca122d..dcc3c05 100644 --- a/utils/segment/ngseg.cpp +++ b/utils/segment/ngseg.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <locale.h> diff --git a/utils/segment/spseg.cpp b/utils/segment/spseg.cpp index 55176d9..42352a7 100644 --- a/utils/segment/spseg.cpp +++ b/utils/segment/spseg.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <string.h> #include <locale.h> diff --git a/utils/storage/import_interpolation.cpp b/utils/storage/import_interpolation.cpp index 0c096b2..041c85c 100644 --- a/utils/storage/import_interpolation.cpp +++ b/utils/storage/import_interpolation.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <locale.h> #include <glib.h> diff --git a/utils/training/eval_correction_rate.cpp b/utils/training/eval_correction_rate.cpp index b811e8d..62dc468 100644 --- a/utils/training/eval_correction_rate.cpp +++ b/utils/training/eval_correction_rate.cpp @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pinyin_internal.h" #include "utils_helper.h" diff --git a/utils/training/gen_deleted_ngram.cpp b/utils/training/gen_deleted_ngram.cpp index da437f8..9f61bd7 100644 --- a/utils/training/gen_deleted_ngram.cpp +++ b/utils/training/gen_deleted_ngram.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/utils/training/gen_k_mixture_model.cpp b/utils/training/gen_k_mixture_model.cpp index 0f9e4c3..b4066d0 100644 --- a/utils/training/gen_k_mixture_model.cpp +++ b/utils/training/gen_k_mixture_model.cpp @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib.h> #include <locale.h> #include "pinyin_internal.h" diff --git a/utils/training/gen_ngram.cpp b/utils/training/gen_ngram.cpp index 41599d9..9d9c643 100644 --- a/utils/training/gen_ngram.cpp +++ b/utils/training/gen_ngram.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/utils/training/import_k_mixture_model.cpp b/utils/training/import_k_mixture_model.cpp index 3eecc8e..1a34871 100644 --- a/utils/training/import_k_mixture_model.cpp +++ b/utils/training/import_k_mixture_model.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <locale.h> #include "pinyin_internal.h" diff --git a/utils/training/k_mixture_model_to_interpolation.cpp b/utils/training/k_mixture_model_to_interpolation.cpp index d6e035a..4879ac7 100644 --- a/utils/training/k_mixture_model_to_interpolation.cpp +++ b/utils/training/k_mixture_model_to_interpolation.cpp @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pinyin_internal.h" #include "utils_helper.h" |