Skip to content

Conversation

@erikhlarsson
Copy link

Updates for iso222133 to build in windows, which could probably have been done cleaner.
Note that "long" type is not recommended as it is not necessarily the same between windows and linux.

#if defined __linux || defined __APPLE__
#include <sys/time.h>
#else
#include "winsock.h"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To get "timeval" structure. Note that long is likely not a good representation for portability between windows and linux

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

Successfully merging this pull request may close these issues.

1 participant