Skip to content

mempcpy needs a configure test #57

Description

@clausecker

Hi there,

Not only glibc and newlib provide mempcpy, so the build fails e.g. on recent FreeBSD due to a duplicate function mempcpy. To fix this, I've written a patch that adds a configure test to check for mempcpy, only using your own implementation if it is not available.

Unfortunately your code has a custom config.h header which shadows the config.h header generated by autotools. In my patch, I have simply removed the other header and defined the single macro in it elsewhere. Check if that's the solution you want.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions