diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2002-10-22 17:05:58 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2002-10-22 17:05:58 +0000 |
commit | a32b080de89d724b3d306ef177f01a8b99528a70 (patch) | |
tree | d319a73e53db7da6b957a53d7f0b59f337fb3bab | |
parent | c6150de67c493309b5857e968f76c27e0dd36e7e (diff) | |
download | xine-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
-rw-r--r-- | src/xine-utils/xine_check.c | 11 |
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__ */ |