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

Cross-platform compilation #2

Closed
CsatiZoltan opened this issue Dec 26, 2018 · 1 comment
Closed

Cross-platform compilation #2

CsatiZoltan opened this issue Dec 26, 2018 · 1 comment

Comments

@CsatiZoltan
Copy link

Your library compiles on Windows with a tiny change.
In triangle.c, before the conditional inclusion

#ifndef NO_TIMER
#include <sys/time.h>
#endif /* not NO_TIMER */

I inserted #define NO_TIMER to be able to compile on Windows. Maybe this definition can be included from within CMakeLists (I don't really know CMake). If you can solve it, your library will work on another platform as well!

@CsatiZoltan
Copy link
Author

Fixed by the proposed pull request.

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