Skip to content

Commit

Permalink
fix build on non-windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Apr 30, 2024
1 parent 765d182 commit 2de2ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odbc-api/src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ use crate::{
use log::debug;
use odbc_sys::{AttrCpMatch, AttrOdbcVersion, FetchOrientation, HWnd};

use winit::platform::run_on_demand::EventLoopExtRunOnDemand;
#[cfg(target_os = "windows")]
// Currently only windows driver manager supports prompt.
use winit::{
application::ApplicationHandler,
event::WindowEvent,
event_loop::{ActiveEventLoop, EventLoop},
window::{Window, WindowId},
platform::run_on_demand::EventLoopExtRunOnDemand,
};

#[cfg(not(feature = "odbc_version_3_5"))]
Expand Down

0 comments on commit 2de2ae4

Please sign in to comment.