summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2002-10-22 17:05:58 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2002-10-22 17:05:58 +0000
commita32b080de89d724b3d306ef177f01a8b99528a70 (patch)
treed319a73e53db7da6b957a53d7f0b59f337fb3bab /src
parentc6150de67c493309b5857e968f76c27e0dd36e7e (diff)
downloadxine-lib-a32b080de89d724b3d306ef177f01a8b99528a70.tar.gz
xine-lib-a32b080de89d724b3d306ef177f01a8b99528a70.tar.bz2
Disable the xine_check code for !linux platforms for now.
CVS patchset: 2936 CVS date: 2002/10/22 17:05:58
Diffstat (limited to 'src')
-rw-r--r--src/xine-utils/xine_check.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c
index 334671e1c..b50d194d5 100644
--- a/src/xine-utils/xine_check.c
+++ b/src/xine-utils/xine_check.c
@@ -6,9 +6,11 @@
#include <sys/utsname.h>
#include <fcntl.h>
#include <stdlib.h>
+#include <errno.h>
+
+#if defined(__linux__)
#include <linux/major.h>
#include <linux/hdreg.h>
-#include <errno.h>
typedef struct {
FILE *fd;
@@ -269,4 +271,9 @@ int xine_health_check_xv(void)
return retval;
}
-
+#else /* !__linux__ */
+int xine_health_check()
+{
+ return 0;
+}
+#endif /* !__linux__ */