added --enable-unicode to configure.ac

This commit is contained in:
hyunghwan.chung
2018-02-21 09:41:52 +00:00
parent 8233a6ae0a
commit c16546c3df
5 changed files with 55 additions and 25 deletions

View File

@ -413,6 +413,9 @@
/* link modules statically into the main library */
#undef MOO_ENABLE_STATIC_MODULE
/* Use the unicode character type as the default character type */
#undef MOO_ENABLE_UNICODE
/* Big Endian */
#undef MOO_ENDIAN_BIG

View File

@ -318,20 +318,18 @@ struct moo_bcs_t
};
typedef struct moo_bcs_t moo_bcs_t;
#if 0
typedef moo_bch_t moo_ooch_t;
typedef moo_bci_t moo_ooci_t;
typedef moo_bcs_t moo_oocs_t;
# define MOO_OOCH_IS_BCH
#else
#if defined(MOO_ENABLE_UNICODE)
typedef moo_uch_t moo_ooch_t;
typedef moo_uci_t moo_ooci_t;
typedef moo_ucs_t moo_oocs_t;
# define MOO_OOCH_IS_UCH
#else
typedef moo_bch_t moo_ooch_t;
typedef moo_bci_t moo_ooci_t;
typedef moo_bcs_t moo_oocs_t;
# define MOO_OOCH_IS_BCH
#endif
/* =========================================================================
* TIME-RELATED TYPES
* =========================================================================*/

View File

@ -1203,7 +1203,6 @@ struct moo_t
int default_type_mask;
} log;
/* ========================= */
moo_heap_t* permheap; /* TODO: put kernel objects to here */