]> granicus.if.org Git - python/commitdiff
Added the new unicode defines. Not really tested yet, but Python compiles again at...
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 2 Jul 2001 15:34:57 +0000 (15:34 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 2 Jul 2001 15:34:57 +0000 (15:34 +0000)
Mac/Include/config.h

index 012929d8727e65cb9c653dea8a7080dbd97c4f12..415887342e6856d8b45259e02b94cec9401cbb23 100644 (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