summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/bits/uClibc_arch_features.h')
-rw-r--r--libc/sysdeps/linux/sh/bits/uClibc_arch_features.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
index 7b9a0efbb..e2b480e75 100644
--- a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
@@ -6,9 +6,9 @@
#define _BITS_UCLIBC_ARCH_FEATURES_H
/* instruction used when calling abort() to kill yourself */
-#if defined(__sh2__)
+#if defined(__CONFIG_SH2__)
# define __UCLIBC_ABORT_INSTRUCTION__ "trapa #32"
-#else /* defined(__sh__) */
+#else
# define __UCLIBC_ABORT_INSTRUCTION__ "trapa #0xff"
#endif