From 2534d786a587f5943ded0fc4dd630962bd78aefa Mon Sep 17 00:00:00 2001 From: short <> Date: Mon, 20 Jan 2003 23:25:22 +0000 Subject: [PATCH] +reactos/internal/io.h --- .../include/reactos/internal/Makefile.am | 1 + src/libcaptive/include/reactos/internal/io.h | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/libcaptive/include/reactos/internal/io.h diff --git a/src/libcaptive/include/reactos/internal/Makefile.am b/src/libcaptive/include/reactos/internal/Makefile.am index db86975..08c31fb 100644 --- a/src/libcaptive/include/reactos/internal/Makefile.am +++ b/src/libcaptive/include/reactos/internal/Makefile.am @@ -25,6 +25,7 @@ noinst_HEADERS+= \ cc.h \ debug.h \ ex.h \ + io.h \ kd.h \ ldr.h \ mm.h \ diff --git a/src/libcaptive/include/reactos/internal/io.h b/src/libcaptive/include/reactos/internal/io.h new file mode 100644 index 0000000..46a1fe1 --- /dev/null +++ b/src/libcaptive/include/reactos/internal/io.h @@ -0,0 +1,46 @@ +/* $Id$ + * GNU world compatibility wrapper for reactos internal/io.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_INTERNAL_IO_H_REACTOS_COMPAT 1 +#include "reactos/compat.h" +#else +#ifdef _CAPTIVE_REACTOS_INTERNAL_IO_H_REACTOS_COMPAT +#undef _CAPTIVE_REACTOS_INTERNAL_IO_H_REACTOS_COMPAT +#define _CAPTIVE_REACTOS_INTERNAL_IO_H_REACTOS_COMPAT 2 +#endif +#endif + +#ifndef _CAPTIVE_REACTOS_INTERNAL_IO_H +#define _CAPTIVE_REACTOS_INTERNAL_IO_H 1 + + +#include "internal/io.h" + + +#endif /* _CAPTIVE_REACTOS_INTERNAL_IO_H */ + +# if _CAPTIVE_REACTOS_INTERNAL_IO_H_REACTOS_COMPAT == 1 +#undef REACTOS_COMPAT +#include "reactos/compat.h" +#elif _CAPTIVE_REACTOS_INTERNAL_IO_H_REACTOS_COMPAT == 2 +#undef _CAPTIVE_REACTOS_INTERNAL_IO_H_REACTOS_COMPAT +#define _CAPTIVE_REACTOS_INTERNAL_IO_H_REACTOS_COMPAT 1 +#endif -- 1.8.3.1