fix(mdbx): use windows symbols on windows (#2780)

This commit is contained in:
Bjerg
2023-05-22 15:59:28 +02:00
committed by GitHub
parent 44348b4e48
commit 4e1f0a909b

View File

@ -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},