summaryrefslogtreecommitdiff
path: root/includes/cdabstract.h
diff options
context:
space:
mode:
authorpixel <pixel>2006-02-02 14:09:48 +0000
committerpixel <pixel>2006-02-02 14:09:48 +0000
commit530453376c1cef29b7c099f4e9e8b4e4dbf99db7 (patch)
tree2ac064392f5961646987139297c27c0f0d1791c5 /includes/cdabstract.h
parent074b784bfd03f248aa13cb50ad45479db03ba5ca (diff)
Removing a lot of warnings, as well as a bunch of terrible bugs!
Diffstat (limited to 'includes/cdabstract.h')
-rw-r--r--includes/cdabstract.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/cdabstract.h b/includes/cdabstract.h
index 1a49c07..e1ee3b4 100644
--- a/includes/cdabstract.h
+++ b/includes/cdabstract.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cdabstract.h,v 1.7 2004-11-27 21:47:53 pixel Exp $ */
+/* $Id: cdabstract.h,v 1.8 2006-02-02 14:09:48 pixel Exp $ */
#ifndef __CD_ABSTRACT_H__
#define __CD_ABSTRACT_H__
@@ -31,7 +31,9 @@
#define METHOD_OUT_DIRECT 2
#define FILE_ANY_ACCESS 0
+#ifndef FILE_READ_ACCESS
#define FILE_READ_ACCESS 0x0001
+#endif
#define CTL_CODE( DevType, Function, Method, Access ) ( \
((DevType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \