diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-08-03 10:30:04 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-08-03 10:30:04 +0200 |
commit | 48632619c9e6e8d7a36382285fc505cfc591dd20 (patch) | |
tree | 5d78a6db7734dcebec5dbc81ee61cfca8a92514b /src | |
parent | f4fb699b5242d13482a3c1931e71a52c79a7e535 (diff) | |
download | glutin-48632619c9e6e8d7a36382285fc505cfc591dd20.tar.gz glutin-48632619c9e6e8d7a36382285fc505cfc591dd20.zip |
Add static assert for platform not supported
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,10 @@ mod osx; mod events; +#[cfg(not(target_os = "win32"), not(target_os = "linux"), not(target_os = "macos"))] +#[static_assert] +static this_platform_is_not_supposed: bool = false; + /// Identifier for a monitor. pub struct MonitorID(winimpl::MonitorID); |