summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/sigma/sigma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/sigma/sigma.c b/users/sigma/sigma.c
index b2bf40d576..527925a63f 100644
--- a/users/sigma/sigma.c
+++ b/users/sigma/sigma.c
@@ -64,6 +64,7 @@ void led_set_keymap(uint8_t usb_led) {}
void set_os(uint8_t os) {
runtime_userspace_config.os_target = os;
+#if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) || defined(UCIS_ENABLE)
switch (os) {
case _OS_MACOS:
set_unicode_input_mode(UC_OSX);
@@ -75,6 +76,7 @@ void set_os(uint8_t os) {
set_unicode_input_mode(UC_WIN);
break;
}
+#endif
}
void matrix_init_user(void) {