2 * GNU world compatibility wrapper for reactos structs.h for libcaptive
3 * Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; exactly version 2 of June 1991 is required
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 #ifndef REACTOS_COMPAT
21 #define REACTOS_COMPAT 1
22 #define _CAPTIVE_REACTOS_STRUCTS_H_REACTOS_COMPAT 1
23 #include "reactos/compat.h"
25 #ifdef _CAPTIVE_REACTOS_STRUCTS_H_REACTOS_COMPAT
26 #undef _CAPTIVE_REACTOS_STRUCTS_H_REACTOS_COMPAT
27 #define _CAPTIVE_REACTOS_STRUCTS_H_REACTOS_COMPAT 2
31 #ifndef _CAPTIVE_REACTOS_STRUCTS_H
32 #define _CAPTIVE_REACTOS_STRUCTS_H 1
35 #include "reactos/defines.h" /* for LF_FACESIZE */
36 /* #include "..." prefers current directory even if not specified by cpp -I.
37 * In the base $(top_srcdir)/src/libcaptive/include/reactos/ directory
38 * we must use #include <...> to prevent including ourselves.
43 #endif /* _CAPTIVE_REACTOS_STRUCTS_H */
45 # if _CAPTIVE_REACTOS_STRUCTS_H_REACTOS_COMPAT == 1
47 #include "reactos/compat.h"
48 #elif _CAPTIVE_REACTOS_STRUCTS_H_REACTOS_COMPAT == 2
49 #undef _CAPTIVE_REACTOS_STRUCTS_H_REACTOS_COMPAT
50 #define _CAPTIVE_REACTOS_STRUCTS_H_REACTOS_COMPAT 1