OSDN Git Service

2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>
authorjjohnstn <jjohnstn>
Thu, 27 Nov 2008 21:01:39 +0000 (21:01 +0000)
committerjjohnstn <jjohnstn>
Thu, 27 Nov 2008 21:01:39 +0000 (21:01 +0000)
        * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
        to fix GCC warning.

newlib/ChangeLog
newlib/libc/posix/telldir.c

index 6d4895b..15801c2 100644 (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.
index a8c5440..ad654b1 100644 (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),