code cleanup
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-12-22 11:53:29 +09:00
parent 2243a1357d
commit 5f91536a38
5 changed files with 37 additions and 57 deletions

View File

@ -79,7 +79,7 @@
# define HCL_SIZEOF_MBSTATE_T HCL_SIZEOF_LONG
# define HCL_MBLEN_MAX 8
#elif defined(__TURBOC__)
#elif defined(__TURBOC__) || defined(_MSC_VER)
/* TODO: be more version specific wchar_t may be available in newer BCC */
# define HCL_SIZEOF_CHAR 1
# define HCL_SIZEOF_SHORT 2