From 097f74a5a37e2a8a26d529cede456ede7011b66f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 7 Feb 2022 01:26:58 +0100 Subject: 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. --- Objects/stringlib/undef.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Objects/stringlib/undef.h') 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 -- cgit v1.2.3