Skip to content

Question regarding unistd.h #19

Open
@IngwiePhoenix

Description

@IngwiePhoenix

Hello!

I have been sneaking around the i2p project for a while, curiously looking at it in contrast to TOR and other overlay network technologies. Now, after some time, I wanted to look at how I could use i2p myself, and came to libsam. But the first thing I noticed is that you must use MinGW to build for Windows - and I can see why. A lot of POSIX specific APIs are used.

Why, though? The one that sticks out the most to me would be unistd.h. But aside from that, what else really "hinders" a native Win32 build?

I mainly want to use libsam3 with the V language, which uses TCC by default but MSVC or GCC depending on platform and situation (or choice). So having a way to build "natively" would be really useful.

Thank you in advance and kind regards,
Ingwie

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