summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/join.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/join.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/join.h')
-rw-r--r--Objects/stringlib/join.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/join.h b/Objects/stringlib/join.h
index cbf81be..90f966d 100644
--- a/Objects/stringlib/join.h
+++ b/Objects/stringlib/join.h
@@ -1,6 +1,6 @@
/* stringlib: bytes joining implementation */
-#if STRINGLIB_SIZEOF_CHAR != 1
+#if STRINGLIB_IS_UNICODE
#error join.h only compatible with byte-wise strings
#endif