Skip to content

Commit

Permalink
Add illumos compilation support
Browse files Browse the repository at this point in the history
  • Loading branch information
Toasterson committed Jan 7, 2023
1 parent 535da55 commit 8c0f8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ffi/locale.rs
Expand Up @@ -25,7 +25,7 @@ mod inner {

impl UTF8LocaleGuard {
pub(crate) fn new() -> Self {
#[cfg(target_os = "linux")]
#[cfg(any(target_os = "linux", target_os = "illumos"))]
let locale = b"\0";

#[cfg(target_os = "macos")]
Expand Down

0 comments on commit 8c0f8f5

Please sign in to comment.