Change SignalHandlers.h to SignalHandlers.hpp
This commit is contained in:
@@ -14,7 +14,7 @@ fn main() {
|
||||
println!("cargo:rustc-link-lib=static=SignalHandlers");
|
||||
|
||||
let mut bindings_builder = bindgen::Builder::default()
|
||||
.header("signalhandlers/SignalHandlers.h")
|
||||
.header("signalhandlers/SignalHandlers.hpp")
|
||||
.whitelist_type("TrapContext")
|
||||
.whitelist_type("jmp_buf")
|
||||
.whitelist_function("EnsureEagerSignalHandlers");
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//! Use of Mach ports on Darwin platforms (the USE_APPLE_MACH_PORTS code below) is
|
||||
//! currently disabled.
|
||||
|
||||
#include "SignalHandlers.h"
|
||||
#include "SignalHandlers.hpp"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
|
||||
Reference in New Issue
Block a user