Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove configure check for memmove #3716

Merged
merged 1 commit into from
Sep 24, 2017
Merged

remove configure check for memmove #3716

merged 1 commit into from
Sep 24, 2017

Conversation

benjaminp
Copy link
Contributor

Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE.

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except of my comment.

Check also win_config.h of expat? (Sorry I cannot right now.)

@@ -12,6 +12,8 @@
#define BYTEORDER 1234
#endif

#define HAVE_MEMMOVE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add 1.

Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE.
@benjaminp
Copy link
Contributor Author

win_config.h already defines HAVE_MEMMOVE.

@benjaminp benjaminp merged commit b1d1c42 into master Sep 24, 2017
@benjaminp benjaminp deleted the benjamin-memmove branch September 24, 2017 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants