summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-11-13 12:05:22 +0100
committerMark Brand <mabrand@mabrand.nl>2011-11-13 12:05:22 +0100
commit3f7f6a10d91caff5ca0ab6b90a9700c7f33311f2 (patch)
tree192a76d898fbeaa1591d7613c2949da97fee7aac
parent3a9a27628560f14146c4e37e8ed9eb2adde33071 (diff)
downloadxine-lib-3f7f6a10d91caff5ca0ab6b90a9700c7f33311f2.tar.gz
xine-lib-3f7f6a10d91caff5ca0ab6b90a9700c7f33311f2.tar.bz2
fake missing definitions for WIN32
--- src/audio_out/audio_file_out.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-)
-rw-r--r--src/audio_out/audio_file_out.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/audio_out/audio_file_out.c b/src/audio_out/audio_file_out.c
index f4006b849..802461e0e 100644
--- a/src/audio_out/audio_file_out.c
+++ b/src/audio_out/audio_file_out.c
@@ -41,6 +41,18 @@
#define GAP_TOLERANCE INT_MAX
+#ifdef WIN32
+#ifndef S_IWUSR
+#define S_IWUSR 0x0000
+#endif
+#ifndef S_IRGRP
+#define S_IRGRP 0x0000
+#endif
+#ifndef S_IROTH
+#define S_IROTH 0x0000
+#endif
+#endif
+
/* Taken (hStudlyCapsAndAll) from sox's wavwritehdr */
struct wavhdr {