Made _ParseTupleFinds only defined to unicodeobject.c
diff --git a/Objects/stringlib/find.h b/Objects/stringlib/find.h
index d3490b9..5b17c7f 100644
--- a/Objects/stringlib/find.h
+++ b/Objects/stringlib/find.h
@@ -103,6 +103,8 @@
#endif /* STRINGLIB_STR */
+#ifdef FROM_UNICODE
+
/*
This function is a helper for the "find" family (find, rfind, index,
rindex) of unicodeobject.c file, because they all have the same
@@ -149,6 +151,7 @@
return 1;
}
+#endif /* FROM_UNICODE */
#endif /* STRINGLIB_FIND_H */
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 06c8fc3..7043d5f 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -4533,6 +4533,7 @@
}
#define STRINGLIB_EMPTY unicode_empty
+#define FROM_UNICODE
#include "stringlib/fastsearch.h"