mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix build issues after deps update
This commit is contained in:
@@ -22,7 +22,6 @@ pub fn setup_logging(process_name: &str, file: Option<&PathBuf>, console: bool,
|
||||
file_rotate::suffix::AppendCount::new(1), // keep 1 old log file
|
||||
file_rotate::ContentLimit::Bytes(1 * 1024 * 1024), // 1MB max log file size
|
||||
file_rotate::compression::Compression::None,
|
||||
#[cfg(unix)]
|
||||
None,
|
||||
);
|
||||
loggers.push(WriteLogger::new(file_level, get_config(Some(process_name)), writer));
|
||||
|
||||
@@ -81,7 +81,7 @@ type IsWow64Process2Fn = unsafe extern "system" fn(
|
||||
hProcess: windows::Win32::Foundation::HANDLE,
|
||||
pprocessmachine: *mut windows::Win32::System::SystemInformation::IMAGE_FILE_MACHINE,
|
||||
pnativemachine: *mut windows::Win32::System::SystemInformation::IMAGE_FILE_MACHINE,
|
||||
) -> windows::Win32::Foundation::BOOL;
|
||||
) -> windows::core::BOOL;
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
unsafe fn is_wow64_process2(handle: windows::Win32::Foundation::HANDLE) -> anyhow::Result<u16> {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
use windows::core::BOOL;
|
||||
use windows::Win32::System::LibraryLoader::LOAD_LIBRARY_SEARCH_SYSTEM32;
|
||||
use windows::Win32::{Foundation::BOOL, System::LibraryLoader::LOAD_LIBRARY_FLAGS};
|
||||
use windows::Win32::System::LibraryLoader::LOAD_LIBRARY_FLAGS;
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
type SetDefaultDllDirectoriesFn = unsafe extern "system" fn(DirectoryFlags: u32) -> BOOL;
|
||||
|
||||
Reference in New Issue
Block a user