]> git.sesse.net Git - vlc/commitdiff
Undefine dirfd on OS/2 as well
authorKO Myung-Hun <komh@chollian.net>
Mon, 10 Oct 2011 11:44:16 +0000 (20:44 +0900)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 10 Oct 2011 16:16:45 +0000 (19:16 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
include/vlc_fixups.h

index dee3dbd397dc3fdce3429085857dfc31afca7aa7..595cee24b93250d6373e4d77b1614d81505f23ad 100644 (file)
@@ -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 *);