Auto update
This commit is contained in:
parent
4ee83775a9
commit
78fc216ae4
24 changed files with 175 additions and 111 deletions
|
|
@ -26,6 +26,8 @@
|
|||
#define SYMBOL_MODE 0
|
||||
#define FULLSHAPE_MODE 1
|
||||
#define HALFSHAPE_MODE 0
|
||||
#define AUTOLEARN_DISABLED 1
|
||||
#define AUTOLEARN_ENABLED 0
|
||||
|
||||
/* specified to Chewing API */
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(_WIN32_WCE)
|
||||
|
|
@ -73,30 +75,6 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* The following macros are modified from GLIB.
|
||||
* from GNU cpp Manual:
|
||||
* C99 introduces the _Pragma operator. This feature addresses a major problem
|
||||
* with `#pragma': being a directive, it cannot be produced as the result of
|
||||
* macro expansion. _Pragma is an operator, much like sizeof or defined, and
|
||||
* can be embedded in a macro.
|
||||
*/
|
||||
#if defined(__clang__) || (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)))
|
||||
# define BEGIN_IGNORE_DEPRECATIONS \
|
||||
_Pragma ("GCC diagnostic push") \
|
||||
_Pragma ("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
|
||||
# define END_IGNORE_DEPRECATIONS \
|
||||
_Pragma ("GCC diagnostic pop")
|
||||
#elif defined (_MSC_VER) && (_MSC_VER >= 1500)
|
||||
# define BEGIN_IGNORE_DEPRECATIONS \
|
||||
__pragma (warning (push)) \
|
||||
__pragma (warning (disable : 4996))
|
||||
# define END_IGNORE_DEPRECATIONS \
|
||||
__pragma (warning (pop))
|
||||
#else
|
||||
# define BEGIN_IGNORE_DEPRECATIONS
|
||||
# define END_IGNORE_DEPRECATIONS
|
||||
#endif
|
||||
|
||||
#define MIN_SELKEY 1
|
||||
#define MAX_SELKEY 10
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue