mirror of
https://github.com/zerotier/crypto-glue.git
synced 2026-05-22 16:28:47 -07:00
12 lines
255 B
Rust
12 lines
255 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
if let Ok(v) = env::var("DEP_OPENSSL_VERSION_NUMBER") {
|
|
let version = u64::from_str_radix(&v, 16).unwrap();
|
|
|
|
if version < 0x1_01_00_00_0 {
|
|
println!("cargo:rustc-cfg=stinkysll");
|
|
}
|
|
}
|
|
}
|