[git commit] sh: fix a wrong "#if" condition within the sysdep.h file.

Giuseppe Cavallaro peppe.cavallaro at st.com
Thu Jul 2 08:19:14 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=d8f98b5dd6272b5af205fc72f873893bc59b8812
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl


This fixes a wrong "#if" condition within the sysdep.h header for SH.
This also avoids many warning while compiling.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro at st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
 .../nptl/sysdeps/unix/sysv/linux/sh/sysdep.h       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sysdep.h b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sysdep.h
index 76cd04a..546a212 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sysdep.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sysdep.h
@@ -99,7 +99,7 @@
 
 #include <libc/sysdeps/linux/sh/syscall_error.S>
 #else
-# if RTLD_PRIVATE_ERRNO
+# ifdef RTLD_PRIVATE_ERRNO
 
 #  define SYSCALL_ERROR_HANDLER	\
 	neg r0,r1; \
-- 
1.6.3.3


More information about the uClibc-cvs mailing list