summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 15:01:42 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 15:01:42 +0000
commit2dca8cd6433fe41213ea5ef769ef8286c1a8a5a1 (patch)
tree079faa6f394b9e9020d186415d2dcf7ada30c59c /libc/sysdeps/linux
parent548c2c5b15e5302bab10578d8933262ac0483296 (diff)
Fix my previous commit to use preprocessor in the right way !
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/sh/bits/syscalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/bits/syscalls.h b/libc/sysdeps/linux/sh/bits/syscalls.h
index d841467b0..50c3e6099 100644
--- a/libc/sysdeps/linux/sh/bits/syscalls.h
+++ b/libc/sysdeps/linux/sh/bits/syscalls.h
@@ -5,7 +5,7 @@
#endif
/* The Linux kernel uses different trap numbers on sh-2. */
-#ifdef __CONFIG_SH2__ || __CONFIG_SH2A__
+#if defined __CONFIG_SH2__ || defined __CONFIG_SH2A__
# define __SH_SYSCALL_TRAP_BASE 0x20
#else
# define __SH_SYSCALL_TRAP_BASE 0x10