]> Zhao Yanbai Git Server - minix.git/commitdiff
opendir change: refinement
authorBen Gras <ben@minix3.org>
Fri, 8 Feb 2013 23:09:21 +0000 (23:09 +0000)
committerBen Gras <ben@minix3.org>
Fri, 8 Feb 2013 23:09:21 +0000 (23:09 +0000)
Change-Id: I90cc6929c9e7678da8e200688dcd40441efe030f

lib/libc/gen/opendir.c

index f6c8e02e07697c6743bbc9fe4ae4f54a405f9820..2229dfdefa71fb5d7d542def89c0141cd31ae73e 100644 (file)
@@ -71,7 +71,7 @@ static DIR    *__opendir_common(int, const char *, int);
 
 __weak_alias(fdopendir,_fdopendir)
 
-#ifdef __weak_alias
+#if defined(__weak_alias) && defined(__minix)
 __weak_alias(opendir,__opendir230)
 #endif