diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/novel_types.h | 5 | ||||
-rw-r--r-- | src/lookup/lookup.h | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h index eb71af6..3011012 100644 --- a/src/include/novel_types.h +++ b/src/include/novel_types.h @@ -27,7 +27,6 @@ #ifndef NOVEL_TYPES_H #define NOVEL_TYPES_H -#include <limits.h> #include <glib.h> namespace pinyin{ @@ -130,8 +129,6 @@ typedef guint32 table_offset_t; typedef double parameter_t; -#define LAMBDA_PARAMETER 0.347121 - /* Array of ChewingKey/ChewingKeyRest */ typedef GArray * ChewingKeyVector; typedef GArray * ChewingKeyRestVector; @@ -164,6 +161,8 @@ typedef enum { USER_DICTIONARY } PHRASE_INDEX_LIBRARIES; +#define LAMBDA_PARAMETER 0.347121 + }; #endif diff --git a/src/lookup/lookup.h b/src/lookup/lookup.h index 6bf7a71..498d7ea 100644 --- a/src/lookup/lookup.h +++ b/src/lookup/lookup.h @@ -28,6 +28,7 @@ */ #include "novel_types.h" +#include <limits.h> namespace pinyin{ |