[Python-Dev] Unicode fallout: Windows _winreg project broken
Fredrik Lundh
fredrik@pythonware.com
Wed, 27 Jun 2001 16:49:31 +0200
martin wrote:
> > IOW, HAVE_USABLE_WCHAR_T no longer gets #define'd on Windows, and
> > that prevents unicodeobject.c from supplying routines _winreg.c
> > calls.
>
> The best thing, IMO, would be if PC/config.h defines everything
> available in config.h also. In this case, the proper defines would be
>
> #define Py_USING_UNICODE
> #define HAVE_USABLE_WCHAR_T
> #define Py_UNICODE_SIZE 2
> #define PY_UNICODE_TYPE wchar_t
>
> If that approach is used, the defaulting in Include/unicodeobject.h
> could go away.
my fault; I missed the HAVE_USABLE_WCHAR_T define when I tried
to fix tim's fix.
I'll fix it.
</F>