Skip to content

Commit

Permalink
Added cfg(unix) to bidgen_macro
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasVousten committed Sep 17, 2024
1 parent 284e503 commit 1425361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyo3_bindgen_macros/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[cfg(unix)]
use pyo3::prelude::*;

/// Ensure that the symbols of the libpython shared library are loaded globally.
Expand Down

0 comments on commit 1425361

Please sign in to comment.