aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Objects/stringlib/undef.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-07 01:26:58 +0100
committerGitHub <noreply@github.com>2022-02-07 01:26:58 +0100
commit097f74a5a37e2a8a26d529cede456ede7011b66f (patch)
tree9fcb89d8fe4944fea4da359e94d3b8ce16f263aa /Objects/stringlib/undef.h
parent16f96a4cf9ab1e91e6e8e18232378bc4b42bb796 (diff)
downloadcpython-097f74a5a37e2a8a26d529cede456ede7011b66f.tar.gz
cpython-097f74a5a37e2a8a26d529cede456ede7011b66f.zip
bpo-46670: Define all macros for stringlib (GH-31176)
bytesobject.c, bytearrayobject.c and unicodeobject.c now define all macros used by stringlib, to avoid using undefined macros. Fix "gcc -Wundef" warnings.
Diffstat (limited to 'Objects/stringlib/undef.h')
-rw-r--r--Objects/stringlib/undef.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/Objects/stringlib/undef.h b/Objects/stringlib/undef.h
index c41e254fde6..bf32298505e 100644
--- a/Objects/stringlib/undef.h
+++ b/Objects/stringlib/undef.h
@@ -1,10 +1,10 @@
-#undef FASTSEARCH
-#undef STRINGLIB
-#undef STRINGLIB_SIZEOF_CHAR
-#undef STRINGLIB_MAX_CHAR
-#undef STRINGLIB_CHAR
-#undef STRINGLIB_STR
-#undef STRINGLIB_LEN
-#undef STRINGLIB_NEW
+#undef FASTSEARCH
+#undef STRINGLIB
+#undef STRINGLIB_SIZEOF_CHAR
+#undef STRINGLIB_MAX_CHAR
+#undef STRINGLIB_CHAR
+#undef STRINGLIB_STR
+#undef STRINGLIB_LEN
+#undef STRINGLIB_NEW
#undef STRINGLIB_IS_UNICODE
-
+#undef STRINGLIB_MUTABLE