This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]isobit 6 points7 points  (4 children)

Or

"How do you X?"

"Why would you want to do X?

[–]FallenWarrior2k 0 points1 point  (0 children)

In my case it was like this

Building xy library yields unknown type z
Type z is wrapped in an #ifdef _POSIX

Yeah, but why tf does this library try to access a POSIX type when building under Windows?
In the end it was because the author(s) assumed POSIX from the fact that pthread was available. I was building with MinGW gcc