commit | bcde10aa7e47da68afb68fe75c65b9339dd89f86 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Mon May 16 09:42:29 2016 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Mon May 16 09:42:29 2016 +0300 |
tree | ebef495abc0010a3b9f028627c9d8f115d93dafc | |
parent | cbcc2fd641de178e139b59f0c08bb738e9d4835e [diff] [blame] |
Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used with correct type.
diff --git a/Objects/stringlib/localeutil.h b/Objects/stringlib/localeutil.h index 6e2f073..df501ed 100644 --- a/Objects/stringlib/localeutil.h +++ b/Objects/stringlib/localeutil.h
@@ -2,8 +2,8 @@ #include <locale.h> -#ifndef STRINGLIB_IS_UNICODE -# error "localeutil is specific to Unicode" +#if !STRINGLIB_IS_UNICODE +# error "localeutil.h is specific to Unicode" #endif typedef struct {