summaryrefslogtreecommitdiff
path: root/src/input/media_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/media_helper.c')
-rw-r--r--src/input/media_helper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/media_helper.c b/src/input/media_helper.c
index 3a016b12f..d07acbab6 100644
--- a/src/input/media_helper.c
+++ b/src/input/media_helper.c
@@ -53,6 +53,7 @@
static int media_umount_media(const char *device)
{
+#ifndef WIN32
pid_t pid;
int status;
@@ -72,6 +73,9 @@ static int media_umount_media(const char *device)
} while(1);
return -1;
+#else
+ return 0;
+#endif
}
int media_eject_media (xine_t *xine, const char *device)