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

WkPlatform : improve Posix check #24

Open
asmodehn opened this issue Oct 16, 2013 · 0 comments
Open

WkPlatform : improve Posix check #24

asmodehn opened this issue Oct 16, 2013 · 0 comments

Comments

@asmodehn
Copy link
Owner

WkPlatform.cmake now looks for unistd.h and if found , the WkPlatform.h header then define the WK_PLATFORM_POSIX preprocessor definition.
However POSIX requires more than unistd.h
We need to improve the platform detection code, at least for posix checks inside the cmake script. A good start is to have a look at boost/config/posix_features.hpp, which should contain what is needed by the POSIX standard...
In general the platform detection WkCMake should be improved and be more standardized if ever possible, but this task concerns posix only, which is a major target platform.

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

1 participant