Commit 9ef94f0a authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Undefine dirfd on OS/2 as well

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 47be7a66
...@@ -183,7 +183,7 @@ int fsync (int fd); ...@@ -183,7 +183,7 @@ int fsync (int fd);
/* dirent.h */ /* dirent.h */
#ifndef HAVE_DIRFD #ifndef HAVE_DIRFD
#ifdef __APPLE__ #if defined(__APPLE__) || defined(__OS2__)
#undef dirfd #undef dirfd
#endif #endif
int dirfd (DIR *); int dirfd (DIR *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment