aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/posix/telldir.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-11-27 21:01:40 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-11-27 21:01:40 +0000
commit27171a8cfadacd4badb995e824ecdbc7648c1fd0 (patch)
treed23994cf2f7034ed8823999b3f8b9bed6facc579 /newlib/libc/posix/telldir.c
parent8f337bfef92a7982baf24d6e6b7ea4c36fe43028 (diff)
downloadnewlib-27171a8cfadacd4badb995e824ecdbc7648c1fd0.zip
newlib-27171a8cfadacd4badb995e824ecdbc7648c1fd0.tar.gz
newlib-27171a8cfadacd4badb995e824ecdbc7648c1fd0.tar.bz2
2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/posix/telldir.c: Use #if !defined() instead of #ifndef to fix GCC warning.
Diffstat (limited to 'newlib/libc/posix/telldir.c')
-rw-r--r--newlib/libc/posix/telldir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/posix/telldir.c b/newlib/libc/posix/telldir.c
index a8c5440..ad654b1 100644
--- a/newlib/libc/posix/telldir.c
+++ b/newlib/libc/posix/telldir.c
@@ -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),