OSDN Git Service

Fix my previous commit to use preprocessor in the right way !
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Fri, 20 Feb 2009 15:01:42 +0000 (15:01 -0000)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Fri, 20 Feb 2009 15:01:42 +0000 (15:01 -0000)
libc/sysdeps/linux/sh/bits/syscalls.h

index d841467..50c3e60 100644 (file)
@@ -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