We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e57fdc8 commit 5c135f7Copy full SHA for 5c135f7
libssh-rs-sys/build.rs
@@ -106,6 +106,9 @@ fn main() {
106
cfg.define("HAVE_NTOHLL", Some("1"));
107
cfg.define("HAVE_HTONLL", Some("1"));
108
}
109
+ if target.contains("android") {
110
+ cfg.define("__ANDROID_API__", Some("21"));
111
+ }
112
113
let compiler = cfg.get_compiler();
114
if compiler.is_like_gnu() || compiler.is_like_clang() {
0 commit comments