[vlc-devel] commit: WinCE: trivial compile fix ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Feb 7 19:11:43 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb  7 20:11:34 2010 +0200| [bded72465e5e094edc8a3c657b4f32fca2230b1d] | committer: Rémi Denis-Courmont 

WinCE: trivial compile fix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bded72465e5e094edc8a3c657b4f32fca2230b1d
---

 src/text/filesystem.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/text/filesystem.c b/src/text/filesystem.c
index 6ebfc39..0e3723a 100644
--- a/src/text/filesystem.c
+++ b/src/text/filesystem.c
@@ -535,6 +535,10 @@ int vlc_mkstemp( char *template )
     return -1;
 }
 
+#ifdef UNDER_CE
+# define dup(fd) (fd, -1)
+#endif
+
 /**
  * Duplicates a file descriptor. The new file descriptor has the close-on-exec
  * descriptor flag set.




More information about the vlc-devel mailing list