[vlc-devel] [PATCH 37/41] Undefine dirfd on OS/2 as well

KO Myung-Hun komh at chollian.net
Mon Oct 10 13:44:16 CEST 2011


---
 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 *);
-- 
1.7.3.2



More information about the vlc-devel mailing list