[vlc-commits] Undefine dirfd on OS/2 as well

KO Myung-Hun git at videolan.org
Mon Oct 10 18:17:17 CEST 2011


vlc | branch: master | KO Myung-Hun <komh at chollian.net> | Mon Oct 10 20:44:16 2011 +0900| [9ef94f0aa3cc5e97ffc7c046014a03c78d8228f8] | committer: Rémi Denis-Courmont

Undefine dirfd on OS/2 as well

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9ef94f0aa3cc5e97ffc7c046014a03c78d8228f8
---

 include/vlc_fixups.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index dee3dbd..595cee2 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -183,7 +183,7 @@ int fsync (int fd);
 
 /* dirent.h */
 #ifndef HAVE_DIRFD
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__OS2__)
 #undef dirfd
 #endif
 int dirfd (DIR *);



More information about the vlc-commits mailing list