From 1b7ffea136f55236729258ddbc6841282de91ae9 Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Tue, 3 Apr 2018 08:52:41 +0200 Subject: alacritty: add support for OpenBSD. This commit expands the conditional compilation directives to support building Alacritty for OpenBSD. The build succeeds, and Alacritty runs without issue once https://github.com/rust-lang/libc/pull/957 has been merged and added to a versioned libc release. This has been tested on the recently-released OpenBSD 6.3 on amd64 with rustc 1.24.0 from its standard ports tree. --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index f8e6490d..814b726b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1611,7 +1611,7 @@ impl Default for Font { } } -#[cfg(any(target_os = "linux",target_os = "freebsd"))] +#[cfg(any(target_os = "linux",target_os = "freebsd",target_os = "openbsd"))] impl Default for Font { fn default() -> Font { Font { -- cgit v1.2.3-54-g00ecf