diff options
| author | tomaka <pierre.krieger1708@gmail.com> | 2015-09-28 22:52:15 +0200 | 
|---|---|---|
| committer | tomaka <pierre.krieger1708@gmail.com> | 2015-09-28 22:52:15 +0200 | 
| commit | d67248ee2a85b1fd7d2a38a9d94883a25a1be1a6 (patch) | |
| tree | 9f7040ca1718d0e77e0810db4873cee369067497 /src/lib.rs | |
| parent | 3e11e5ef69cc714c067dff49834f0e782c8f7fc6 (diff) | |
| parent | 77b37431173a7267835f01915f7bc604d9f5a6ff (diff) | |
| download | glutin-d67248ee2a85b1fd7d2a38a9d94883a25a1be1a6.tar.gz glutin-d67248ee2a85b1fd7d2a38a9d94883a25a1be1a6.zip | |
Merge pull request #622 from jdm/warnings
Warning fixes for OS X.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| @@ -68,6 +68,7 @@ pub use window::{AvailableMonitorsIter, MonitorId, get_available_monitors, get_p  pub use native_monitor::NativeMonitorId;  use std::io; +#[cfg(not(target_os = "macos"))]  use std::cmp::Ordering;  mod api; @@ -377,6 +378,7 @@ pub struct PixelFormatRequirements {  }  impl PixelFormatRequirements { +    #[cfg(not(target_os = "macos"))]      fn choose_pixel_format<T, I>(&self, iter: I) -> Result<(T, PixelFormat), CreationError>                                   where I: IntoIterator<Item=(T, PixelFormat)>, T: Clone      { | 
