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

OS X compatibility #37

Merged
merged 1 commit into from Oct 8, 2016

Conversation

Projects
None yet
2 participants
@MaxLeiter
Contributor

MaxLeiter commented Oct 6, 2016

No description provided.

src/state.c Outdated
clock_gettime(CLOCK_MONOTONIC, &account->status.since);
#endif

This comment has been minimized.

@ddevault

ddevault Oct 6, 2016

Owner

Please move these into a seperate function that just returns the time in nanoseconds or something.

@ddevault

This comment has been minimized.

Owner

ddevault commented Oct 8, 2016

Bump

@MaxLeiter

This comment has been minimized.

Contributor

MaxLeiter commented Oct 8, 2016

Should be ready (hopefully)

#include <mach/mach.h>
#endif
void get_nanoseconds(struct timespec tp) {

This comment has been minimized.

@ddevault

ddevault Oct 8, 2016

Owner

This seems... to pass the timespec on the stack? Which would mean none of these functions do anything to it.

@ddevault ddevault merged commit 8e01086 into ddevault:master Oct 8, 2016

@MaxLeiter MaxLeiter deleted the MaxLeiter:OSX branch Oct 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment