Commit aee89ad0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Work around dirfd compilation breakage

(Not that I expect this to work at run-time)
parent 64f26437
...@@ -45,6 +45,10 @@ ...@@ -45,6 +45,10 @@
# include <unistd.h> # include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE ) #elif defined( WIN32 ) && !defined( UNDER_CE )
# include <io.h> # include <io.h>
static inline int dirfd (void *dir)
{
return -1;
}
#elif defined( UNDER_CE ) #elif defined( UNDER_CE )
# define strcoll strcmp # define strcoll strcmp
#endif #endif
......
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