Added the new unicode defines. Not really tested yet, but Python compiles again at least.

This commit is contained in:
Jack Jansen 2001-07-02 15:34:57 +00:00
parent 683ecc7374
commit 4542897d96
1 changed files with 9 additions and 0 deletions

View File

@ -199,6 +199,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Define if the compiler provides a wchar.h header file. */
#define HAVE_WCHAR_H 1
/* Define if you want to have a Unicode type. */
#define Py_USING_UNICODE 1
/* Define as the integral type used for Unicode representation. */
#define PY_UNICODE_TYPE wchar_t
/* Define as the size of the unicode type. */
#define Py_UNICODE_SIZE 2
/* Define if malloc(0) returns a NULL pointer */
#ifdef USE_MSL_MALLOC
#define MALLOC_ZERO_RETURNS_NULL