-
Notifications
You must be signed in to change notification settings - Fork 283
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
Various changes toward building on windows #14
Conversation
Next issue after this: poll is not supported.
@@ -29,7 +29,12 @@ | |||
|
|||
#define LOG_TAG "NativeCrypto" | |||
|
|||
#include <arpa/inet.h> | |||
#ifdef _WIN32 | |||
#include <Winsock2.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be lowercase in case we compile against MinGW which is usually compiled with case-sensitive filesystems.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
visualCpp(VisualCpp) { | ||
// Temporary hack for https://github.com/gradle/gradle/issues/929 | ||
installDir "C:/Program Files (x86)/Microsoft Visual Studio 14.0" | ||
windowsSdkDir "C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these have to be in this format:
file:///C:/Program%20Files%20(x86)/...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
@@ -22,8 +22,8 @@ subprojects { | |||
toolChains { | |||
visualCpp(VisualCpp) { | |||
// Temporary hack for https://github.com/gradle/gradle/issues/929 | |||
installDir "C:/Program Files (x86)/Microsoft Visual Studio 14.0" | |||
windowsSdkDir "C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A" | |||
installDir "file:///C:/Program%20Files%20(x86)/Microsoft%20Visual Studio 14.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why stop at Visual?
@kruton PTAL |
Next issue after this: poll is not supported.