aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorjohalun <johalun0@gmail.com>2017-01-12 13:16:09 -0800
committerJoe Wilm <jwilm@users.noreply.github.com>2017-01-18 22:28:16 -0800
commit398e31fa3789f0574a6ff679742dfb7639984e12 (patch)
tree534eac678766a748c6b3543da8ba448c3018ea24 /src/config.rs
parenta2cd4b647c1058c3012348774481ade30dddd601 (diff)
downloadalacritty-398e31fa3789f0574a6ff679742dfb7639984e12.tar.gz
alacritty-398e31fa3789f0574a6ff679742dfb7639984e12.zip
Make it run on FreeBSD
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index 2665c3b3..e9173f6c 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1100,7 +1100,7 @@ impl Default for Font {
}
}
-#[cfg(target_os = "linux")]
+#[cfg(any(target_os = "linux",target_os = "freebsd"))]
impl Default for Font {
fn default() -> Font {
Font {
@@ -1546,4 +1546,3 @@ impl Key {
}
}
}
-