Message114251
Daniel Stutzbach wrote:
>
> Daniel Stutzbach <daniel@stutzbachenterprises.com> added the comment:
>
> Thanks. I dug into that a little just now, and it turns out to happen automatically.
>
> If ./configure doesn't define HAVE_WCHAR_H then it also will not define SIZEOF_WCHAR_T. If SIZEOF_WCHAR_T is not defined, the preprocessor will treat it as 0 causing it to be unequal to Py_UNICODE_SIZE. In other words, if HAVE_WCHAR_H is not defined then SIZEOF_WCHAR_T == Py_UNICODE_SIZE will be false.
Ok, thanks for checking.
Other than that detail, I think the patch looks good. |
|
Date |
User |
Action |
Args |
2010-08-18 17:22:20 | lemburg | set | recipients:
+ lemburg, loewis, pitrou, stutzbach |
2010-08-18 17:22:18 | lemburg | link | issue8781 messages |
2010-08-18 17:22:18 | lemburg | create | |
|