2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>

* libc/posix/telldir.c: Use #if !defined() instead of #ifndef
        to fix GCC warning.
This commit is contained in:
Jeff Johnston 2008-11-27 21:01:40 +00:00
parent 8f337bfef9
commit 27171a8cfa
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/posix/telldir.c: Use #if !defined() instead of #ifndef
to fix GCC warning.
2008-11-27 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.

View File

@ -75,7 +75,7 @@ __LOCK_INIT(static, dd_hash_lock);
* return a pointer into a directory
*/
#ifndef _ELIX_LEVEL || _ELIX_LEVEL >= 2
#if !defined(_ELIX_LEVEL) || (_ELIX_LEVEL >= 2)
long
_DEFUN(telldir, (dirp),