Skip to content

Commit 99b7b8c

Browse files
committed
fix cfg macro
1 parent e485745 commit 99b7b8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ impl Config {
3535
#[cfg(windows)] {
3636
data_dir = BaseDirs::new().unwrap().data_local_dir().to_path_buf().join("Geode");
3737
};
38-
#[cfg(mac)] {
38+
#[cfg(macos)] {
3939
data_dir = PathBuf::from("/Users/Shared/Geode");
4040
};
41-
#[cfg(not(any(windows, mac)))] {
41+
#[cfg(not(any(windows, macos)))] {
4242
use std::compile_error;
4343
compile_error!("implement config.json directory");
4444
};

0 commit comments

Comments
 (0)