-
Notifications
You must be signed in to change notification settings - Fork 450
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
Building on Windows #33
Comments
I don't have a windows machine to test, but it actually doesn't matter what that second parameter is. If you can find a legal value it should work fine (it's only used for difference so the locality of the time doesn't matter). |
I changed it to 1000000. Works in GNU/Linux and gets past that error in Windows. However now on Windows I think I am running in to #23 . No 2 implementations of that qsort_r or qsort_s are the same... |
Merging with #23. |
I don't think the issue is #23 but they're related. After trying in GCC I tried in clang, and it gave the same error.
I don't know C but sort.h seems to be buggy. I fixed sort.h:34:33 by changing &sort_r_arg_swap to &_sort_r_arg_swap but don't know if it's the right fix, and it's failing because of sort.h:33:25. Can this issue be reopened? |
I think I almost figured out build on Windows but I have this issue:
error: TIME_UTC 'undeclared'
src/util/time.h:11:23 is:
timespec_get(&ts, TIME_UTC);
I guess Windows does not implement TIME_UTC thing. I am not C programmer unfortunately. Is there workaround?
The text was updated successfully, but these errors were encountered: