[PATCH] NetBSD: define generic CD defines
Marcus Meissner
marcus at jet.franken.de
Sun Oct 22 14:53:41 CDT 2006
Hi,
Define generic (architecture inspecific) things.
>From NetBSD patchset.
Ciao, Marcus
---
dlls/ntdll/cdrom.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
8d8f64065d2c3ebe70b885d95c6e7e7fc917d7df
diff --git a/dlls/ntdll/cdrom.c b/dlls/ntdll/cdrom.c
index 9a400d0..9d6f172 100644
--- a/dlls/ntdll/cdrom.c
+++ b/dlls/ntdll/cdrom.c
@@ -64,6 +64,16 @@
#endif
#ifdef HAVE_LINUX_CDROM_H
# include <linux/cdrom.h>
+#else
+# ifndef CD_FRAMES
+# define CD_FRAMES 75
+# endif
+# ifndef CDROM_MSF
+# define CDROM_MSF 0x02
+# endif
+# ifndef CD_SECS
+# define CD_SECS 60
+# endif
#endif
#ifdef HAVE_LINUX_UCDROM_H
# include <linux/ucdrom.h>
--
1.2.4
More information about the wine-patches
mailing list