mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(mdbx): use windows symbols on windows (#2780)
This commit is contained in:
@ -8,6 +8,10 @@ use crate::{
|
||||
use byteorder::{ByteOrder, NativeEndian};
|
||||
use libc::c_uint;
|
||||
use mem::size_of;
|
||||
#[cfg(unix)]
|
||||
use std::os::unix::ffi::OsStrExt;
|
||||
#[cfg(windows)]
|
||||
use std::os::windows::ffi::OsStrExt;
|
||||
use std::{
|
||||
ffi::CString,
|
||||
fmt,
|
||||
@ -15,7 +19,6 @@ use std::{
|
||||
marker::PhantomData,
|
||||
mem,
|
||||
ops::{Bound, RangeBounds},
|
||||
os::unix::ffi::OsStrExt,
|
||||
path::Path,
|
||||
ptr, result,
|
||||
sync::mpsc::{sync_channel, SyncSender},
|
||||
|
||||
Reference in New Issue
Block a user