summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/localeutil.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-16 06:42:29 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-16 06:42:29 (GMT)
commitbcde10aa7e47da68afb68fe75c65b9339dd89f86 (patch)
treeebef495abc0010a3b9f028627c9d8f115d93dafc /Objects/stringlib/localeutil.h
parentcbcc2fd641de178e139b59f0c08bb738e9d4835e (diff)
downloadcpython-bcde10aa7e47da68afb68fe75c65b9339dd89f86.zip
cpython-bcde10aa7e47da68afb68fe75c65b9339dd89f86.tar.gz
cpython-bcde10aa7e47da68afb68fe75c65b9339dd89f86.tar.bz2
Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used
with correct type.
Diffstat (limited to 'Objects/stringlib/localeutil.h')
-rw-r--r--Objects/stringlib/localeutil.h4
1 files changed, 2 insertions, 2 deletions
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 {