fixed code a bit more for the old sco compiler

This commit is contained in:
2014-11-17 15:57:00 +00:00
parent e57c9673d1
commit cce68401e2
9 changed files with 38 additions and 18 deletions

View File

@ -32,9 +32,12 @@
* The QSE_UTF8LEN_MAX macro defines the maximum number of bytes
* needed to form a single unicode character.
*/
#if QSE_SIZEOF_WCHAR_T == 2
#if (QSE_SIZEOF_WCHAR_T == QSE_SIZEOF_MCHAR_T)
/* cannot handle utf8 conversion properly */
# define QSE_UTF8LEN_MAX 1
#elif (QSE_SIZEOF_WCHAR_T == 2)
# define QSE_UTF8LEN_MAX 3
#elif QSE_SIZEOF_WCHAR_T == 4
#elif (QSE_SIZEOF_WCHAR_T == 4)
# define QSE_UTF8LEN_MAX 6
#else
# error Unsupported wide-character size

View File

@ -631,6 +631,9 @@
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/un.h> header file. */
#undef HAVE_SYS_UN_H
/* Define to 1 if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H