bitcoin-compat 0.1.19

platform specific code and constant assertions for certain assumptions
1
2
3
4
5
6
7
8
9
10
11
// ---------------- [ File: bitcoin-compat/src/imports.rs ]
pub(crate) use bitcoin_imports::*;

#[cfg(all(USE_SYSCALL_SANDBOX, target_os = "linux", target_arch = "x86_64"))]
pub(crate) use {
    libc::{
        c_void, sigaction, sigaddset, sigemptyset, siginfo_t, sigprocmask, ucontext_t, SA_SIGINFO,
        SIGSYS, SIG_UNBLOCK,
    },
    std::ptr,
};