From: short <> Date: Mon, 4 Nov 2002 14:56:21 +0000 (+0000) Subject: +reactos/ddk/class2.h X-Git-Tag: captive-0_2~558 X-Git-Url: http://git.jankratochvil.net/?a=commitdiff_plain;h=9e86a2ed9815f4e863c62fe2f373f4ccf8e983b9;p=captive.git +reactos/ddk/class2.h --- diff --git a/src/libcaptive/include/reactos/ddk/class2.h b/src/libcaptive/include/reactos/ddk/class2.h new file mode 100644 index 0000000..19b2986 --- /dev/null +++ b/src/libcaptive/include/reactos/ddk/class2.h @@ -0,0 +1,49 @@ +/* $Id$ + * GNU world compatibility wrapper for reactos ddk/class2.h for libcaptive + * Copyright (C) 2002 Jan Kratochvil + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; exactly version 2 of June 1991 is required + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#ifndef REACTOS_COMPAT +#define REACTOS_COMPAT 1 +#define _CAPTIVE_REACTOS_DDK_CLASS2_H_REACTOS_COMPAT 1 +#include "reactos/compat.h" +#else +#ifdef _CAPTIVE_REACTOS_DDK_CLASS2_H_REACTOS_COMPAT +#undef _CAPTIVE_REACTOS_DDK_CLASS2_H_REACTOS_COMPAT +#define _CAPTIVE_REACTOS_DDK_CLASS2_H_REACTOS_COMPAT 2 +#endif +#endif + +#ifndef _CAPTIVE_REACTOS_DDK_CLASS2_H +#define _CAPTIVE_REACTOS_DDK_CLASS2_H 1 + + +#include "reactos/ddk/srb.h" +#include "reactos/ddk/scsi.h" /* for PINQUIRYDATA */ +#include "reactos/ddk/extypes.h" /* for NPAGED_LOOKASIDE_LIST */ +#include "ddk/class2.h" + + +#endif /* _CAPTIVE_REACTOS_DDK_CLASS2_H */ + +# if _CAPTIVE_REACTOS_DDK_CLASS2_H_REACTOS_COMPAT == 1 +#undef REACTOS_COMPAT +#include "reactos/compat.h" +#elif _CAPTIVE_REACTOS_DDK_CLASS2_H_REACTOS_COMPAT == 2 +#undef _CAPTIVE_REACTOS_DDK_CLASS2_H_REACTOS_COMPAT +#define _CAPTIVE_REACTOS_DDK_CLASS2_H_REACTOS_COMPAT 1 +#endif