summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal S. de Kloe <pascal@quies.net>2007-04-04 13:41:11 +0200
committerPascal S. de Kloe <pascal@quies.net>2007-04-04 13:41:11 +0200
commitb34dcf208b9c69bfda299ab6fe035ad99ed7ec01 (patch)
tree6a7f7901364ee4707360172d7a2d63896f9d49e8
parent11256a884cae65ebfce0bc98cb5d034e431557c1 (diff)
downloadxine-lib-b34dcf208b9c69bfda299ab6fe035ad99ed7ec01.tar.gz
xine-lib-b34dcf208b9c69bfda299ab6fe035ad99ed7ec01.tar.bz2
Cleanup check for WIN32, use #elif rather than #else/#ifdef.
-rw-r--r--src/input/input_dvd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c
index 14ff8c9e8..de47de0d5 100644
--- a/src/input/input_dvd.c
+++ b/src/input/input_dvd.c
@@ -71,14 +71,10 @@
#include <sys/cdio.h> /* CDIOCALLOW etc... */
#elif defined(HAVE_SYS_CDIO_H)
#include <sys/cdio.h>
-#else
-
-#ifdef WIN32
+#elif defined(WIN32)
#include <io.h> /* read() */
#else
#warning "This might not compile due to missing cdrom ioctls"
-#endif /* WIN32 */
-
#endif
/* DVDNAV includes */