Skip to content

Mingw cross compilation error #1126

@bit0fun

Description

@bit0fun

I'm working on cross compiling hiredis on linux to windows with mingw, and found that in sockcompat.h:53, mingw will fail compilation due to Mstcpip.h not being found

Simply changing this to mstcpip.h, compilation succeeds on the master branch without issue.
I didn't want to create a pull request for this change before creating an issue, because I'm not sure if this would affect anything else.

I'm assuming that given windows doesn't care about case for file names that this would not be a problem, but I don't have a development environment for windows to test this out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions