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

WinCE: trivial compile fix

parent 16fd5ce9
...@@ -535,6 +535,10 @@ int vlc_mkstemp( char *template ) ...@@ -535,6 +535,10 @@ int vlc_mkstemp( char *template )
return -1; return -1;
} }
#ifdef UNDER_CE
# define dup(fd) (fd, -1)
#endif
/** /**
* Duplicates a file descriptor. The new file descriptor has the close-on-exec * Duplicates a file descriptor. The new file descriptor has the close-on-exec
* descriptor flag set. * descriptor flag set.
......
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