diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-23 07:00:33 +0000 | 
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-23 07:00:33 +0000 | 
| commit | 1a08441c06b25efb87de33512674e80a8dedc63e (patch) | |
| tree | 001faaca77361f043d9d8ec95f7e8e67e61c775d /libc/sysdeps/linux/sh/sys/ucontext.h | |
| parent | 2dca8cd6433fe41213ea5ef769ef8286c1a8a5a1 (diff) | |
| download | uClibc-alpine-1a08441c06b25efb87de33512674e80a8dedc63e.tar.bz2 uClibc-alpine-1a08441c06b25efb87de33512674e80a8dedc63e.tar.xz | |
Use gcc built-in defines for detecting SH cores instead of
uclibc config option macros (aligning SH to all other archs).
Changes applied as below:
__CONFIG_SH4__  -> __SH4__
__CONFIG_SH2__  -> __sh2__
__CONFIG_SH2A__ -> __SH2A__
Note: pay attention to capital letters
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/sys/ucontext.h')
| -rw-r--r-- | libc/sysdeps/linux/sh/sys/ucontext.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/libc/sysdeps/linux/sh/sys/ucontext.h b/libc/sysdeps/linux/sh/sys/ucontext.h index 0996bf2d5..4ed2484bc 100644 --- a/libc/sysdeps/linux/sh/sys/ucontext.h +++ b/libc/sysdeps/linux/sh/sys/ucontext.h @@ -98,7 +98,7 @@ typedef struct      unsigned int mach;      unsigned int macl; -#ifdef __CONFIG_SH4__ +#ifdef __SH4__      /* FPU registers */      fpregset_t fpregs;      fpregset_t xfpregs; | 
