> #define Py_UNICODE_SIZE sizeof(PY_UNICODE_TYPE) > ? Because you cannot use that in preprocessor tests. If you do #if Py_UNICODE_SIZE == SIZEOF_INT then the preprocessor is not supposed to do this properly unless you have a integral number on each side. Regards, Martin