From 530453376c1cef29b7c099f4e9e8b4e4dbf99db7 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 2 Feb 2006 14:09:48 +0000 Subject: Removing a lot of warnings, as well as a bunch of terrible bugs! --- includes/cdabstract.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes') 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) \ -- cgit v1.2.3