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

Definition of pid_t not found on plain Windows #78

Closed
kaoh opened this issue Nov 29, 2016 · 4 comments
Closed

Definition of pid_t not found on plain Windows #78

kaoh opened this issue Nov 29, 2016 · 4 comments

Comments

@kaoh
Copy link

kaoh commented Nov 29, 2016

check.h defines:

CK_DLL_EXP pid_t CK_EXPORT check_fork(void);

A fix would be:

#ifdef WIN32
#define pid_t int
#endif
@Artox
Copy link

Artox commented Jul 22, 2017

This is still a thing in the public header check.h that gets installed.
I guess one is supposed to either use define pid_t as int when invoking the compiler?

@brarcher
Copy link
Contributor

Take a look at #78 and see if it is what you are thinking, or if you suggest a different fix.

@Artox
Copy link

Artox commented Jul 25, 2017

Yes thats exactly what I'd like to see.

@brarcher
Copy link
Contributor

This should be resolved in the next release of Check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants